diff --git a/TemplateGenerator/Templates/th17.ttinclude b/TemplateGenerator/Templates/th17.ttinclude deleted file mode 100644 index feea9e36..00000000 --- a/TemplateGenerator/Templates/th17.ttinclude +++ /dev/null @@ -1,36 +0,0 @@ -<#@ include file="footer.ttinclude" once="true" #> -<#@ import namespace="TemplateGenerator.Models.Th17" #> -<# - var title = Definitions.Title; - - var levels = Definitions.LevelNames; - var levelsPractice = Definitions.LevelPracticeNames; - var levelsWithTotal = Definitions.LevelWithTotalNames; - - var levelKeyOrderTotalFirst = Definitions.LevelKeysTotalFirst; - var levelKeyOrderTotalLast = Definitions.LevelKeysTotalLast; - var levelKeyTotal = levelKeyOrderTotalFirst.First(); - - var characters = Definitions.CharacterNames; - var charactersWithTotal = Definitions.CharacterWithTotalNames; - - var charaKeyOrderTotalFirst = Definitions.CharacterKeysTotalFirst; - var charaKeyOrderTotalLast = Definitions.CharacterKeysTotalLast; - var charaKeyTotal = charaKeyOrderTotalFirst.First(); - - var stages = Definitions.StageNames; - var stagesPractice = Definitions.StagePracticeNames; - var stagesWithTotal = Definitions.StageWithTotalNames; - - var stageKeyOrderTotalFirst = Definitions.StageKeysTotalFirst; - var stageKeyOrderTotalLast = Definitions.StageKeysTotalLast; - var stageKeyTotal = stageKeyOrderTotalFirst.First(); - - var cardsPerLevel = Definitions.NumCardsPerLevel; - var cardsPerStage = Definitions.NumCardsPerStage; - var numCards = cardsPerLevel.Values.Sum(); - - var careerKinds = Definitions.CareerKinds; - - var numAchievements = Definitions.NumAchievements; -#> \ No newline at end of file diff --git a/TemplateGenerator/Templates/th17card1.tt b/TemplateGenerator/Templates/th17card1.tt index bd95ab08..98ff6214 100644 --- a/TemplateGenerator/Templates/th17card1.tt +++ b/TemplateGenerator/Templates/th17card1.tt @@ -1,8 +1,12 @@ <#@ template debug="false" hostspecific="false" language="C#" #> <#@ include file="imports.ttinclude" once="true" #> -<#@ include file="th17.ttinclude" once="true" #> +<#@ include file="footer.ttinclude" once="true" #> +<#@ import namespace="TemplateGenerator.Models.Th17" #> <#@ output extension=".html" encoding="utf-8" #> <# + var levelKeyTotal = Definitions.LevelKeysTotalFirst.First(); + var stageKeyTotal = Definitions.StageKeysTotalFirst.First(); + var numCards = Definitions.NumCardsPerLevel.Values.Sum(); var careerKindKey = "S"; #> @@ -11,7 +15,7 @@
-