Template:Faction: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(added ritualliquid)
(edited strings to pages. also added better formatting to ritualskill and reciperep)
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|SkillReputationCost=Integer|RecipeReputationCost=Integer|WaterRitualLiquid=String}}
<noinclude>{{#cargo_declare:_table=Factions|FactionID=String|IsVisible=Boolean|BasePlayerReputation=Integer|WaterRitualSkill=Page|WaterRitualRecipe=Page|BuyInterests=List (,) of String|SellInterests=List (,) of String|SkillReputationCost=Integer|RecipeReputationCost=Integer|WaterRitualLiquid=String}}
</noinclude>
</noinclude>


Line 12: Line 12:
{{#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}}} ({{{skillrep}}})}} }}
{{#if: {{{ritualskill|}}}  | {{infobox row|Skill Taught|[[{{{ritualskill}}}]] (-{{{skillrep|?}}} reputation)}} }}
{{#if: {{{recipe|}}}      | {{infobox row|Recipe Taught|{{{recipe}}} ({{{reciperep}}})}} }}  
{{#if: {{{recipe|}}}      | {{infobox row|Recipe Taught|[[{{{recipe}}}]] (-{{{reciperep|?}}} reputation)}} }}  
{{#if: {{{id|}}}          | {{infobox row|ID|{{{id}}} }} }} }} </includeonly>
{{#if: {{{id|}}}          | {{infobox row|ID|{{{id}}} }} }} }} </includeonly>
<noinclude>[[Category:Templates]]
<noinclude>[[Category:Templates]]

Revision as of 01:50, 14 July 2019

This template defines the table "Factions". View table.

visible if the faction is visible in game. yes/no
baserep player's initial rep integer, defaults to 0
feelings feelings about other factions. please declare with Template:Faction feelings for each faction. Template:Faction feelings
buyinterests what secrets they like to hear. List separated by ,
sellintersts what secrets they like to share. List separated by ,
ritualskill the skill taught in water ritual. string
recipe the recipe taught in water ritual. string
id the faction Name="__" in factions.xml string
reciperep reputation needed for recipe integer
skillrep reputation needed for skill Integer
ritualliquid the liquid used in water ritual with legendaries of this faction. Defaults to Water String