Template:Faction: Difference between revisions

Jump to navigation Jump to search
276 bytes added ,  19:34, 13 July 2019
added reputation costs for recipe and skill taught
(Formatting fixes)
(added reputation costs for recipe and skill taught)
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=Factions|FactionID=String|IsVisible=Boolean|BasePlayerReputation=Integer|WaterRitualSkill=String|WaterRitualRecipe=String|BuyInterests=List (,) of String|SellInterests=List (,) of String}}
<noinclude>{{#cargo_declare:_table=Factions|FactionID=String|IsVisible=Boolean|BasePlayerReputation=Integer|WaterRitualSkill=String|WaterRitualRecipe=String|BuyInterests=List (,) of String|SellInterests=List (,) of String|SkillReputationCost=Integer|RecipeReputationCost=Integer}}
</noinclude>
</noinclude>


<includeonly>{{#cargo_store:_table=Factions|FactionID={{{id|}}}|IsVisible={{{visible|}}}|BasePlayerReputation={{{baserep|0}}}|WaterRitualSkill={{{ritualskill|}}}|WaterRitualRecipe={{{recipe|}}}|BuyInterests={{{buyinterests|}}}|SellInterests={{{sellinterests|}}}}}
<includeonly>{{#cargo_store:_table=Factions|FactionID={{{id|}}}|IsVisible={{{visible|}}}|BasePlayerReputation={{{baserep|0}}}|WaterRitualSkill={{{ritualskill|}}}|WaterRitualRecipe={{{recipe|}}}|BuyInterests={{{buyinterests|}}}|SellInterests={{{sellinterests|}}}|SkillReputationCost={{{skillrep|0}}}|RecipeReputationCost={{{reciperep|0}}}}}
</includeonly>{{#invoke: infobox | infobox |
{{#invoke: infobox | infobox |
image=none|
image=none|
rows=
rows=
Line 11: Line 11:
{{#if: {{{buyinterests|}}} | {{infobox row|Interested</br>in Learning|{{{buyinterests}}} }} }}
{{#if: {{{buyinterests|}}} | {{infobox row|Interested</br>in Learning|{{{buyinterests}}} }} }}
{{#if: {{{sellinterests|}}}| {{infobox row|Interested</br>in Sharing|{{{sellinterests}}} }} }}
{{#if: {{{sellinterests|}}}| {{infobox row|Interested</br>in Sharing|{{{sellinterests}}} }} }}
{{#if: {{{ritualskill|}}}  | {{infobox row|Skill Taught|{{{ritualskill}}} }} }}
{{#if: {{{ritualskill|}}}  | {{infobox row|Skill Taught|{{{ritualskill}}} ({{{skillrep}}})}} }}
{{#if: {{{recipe|}}}      | {{infobox row|Recipe Taught|{{{recipe}}} }} }}  
{{#if: {{{recipe|}}}      | {{infobox row|Recipe Taught|{{{recipe}}} ({{{reciperep}}})}} }}  
{{#if: {{{id|}}}          | {{infobox row|ID|{{{id}}} }} }} }}  
{{#if: {{{id|}}}          | {{infobox row|ID|{{{id}}} }} }} }} </includeonly>
<noinclude>[[Category:Templates]]
<noinclude>[[Category:Templates]]
{| class="wikitable"
{| class="wikitable"
Line 47: Line 47:
| the faction Name="__" in factions.xml
| the faction Name="__" in factions.xml
| string
| string
|-
! reciperep
| reputation needed for recipe
| integer
|-
! skillrep
| reputation needed for skill
| Integer
|}</noinclude>
|}</noinclude>

Navigation menu