Template:Faction: Difference between revisions
Jump to navigation
Jump to search
(forgot to cargo attach this one) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<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|ParentFaction=Page}} | <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|ParentFaction=Page}} | ||
{{#cargo_attach:_table=GeneralData}} | {{#cargo_attach:_table=GeneralData}} | ||
</noinclude> | </noinclude><includeonly>{{#cargo_store:_table=Factions|FactionID={{{id|}}}|IsVisible={{{visible|yes}}}|BasePlayerReputation={{{baserep|0}}}|WaterRitualSkill={{{ritualskill|}}}|WaterRitualRecipe={{{recipe|}}}|BuyInterests={{{buyinterests|}}}|SellInterests={{{sellinterests|}}}|SkillReputationCost={{{skillrep|0}}}|RecipeReputationCost={{{reciperep|0}}}|WaterRitualLiquid={{{ritualliquid|Water}}}|ParentFaction={{{parentfaction|}}}}}{{#cargo_store:_table=GeneralData|ObjectID={{{id|}}}|DisplayName={{PAGENAME}}|PlainName={{PAGENAME}}}} | ||
<includeonly>{{#cargo_store:_table=Factions|FactionID={{{id|}}}|IsVisible={{{visible|yes}}}|BasePlayerReputation={{{baserep|0}}}|WaterRitualSkill={{{ritualskill|}}}|WaterRitualRecipe={{{recipe|}}}|BuyInterests={{{buyinterests|}}}|SellInterests={{{sellinterests|}}}|SkillReputationCost={{{skillrep|0}}}|RecipeReputationCost={{{reciperep|0}}}|WaterRitualLiquid={{{ritualliquid|Water}}}|ParentFaction={{{parentfaction|}}}}}{{#cargo_store:_table=GeneralData|ObjectID={{{id|}}}|DisplayName={{PAGENAME}}|PlainName={{PAGENAME | |||
{{#invoke: infobox | infobox | | {{#invoke: infobox | infobox | | ||
image=none| | image=none| | ||
Line 17: | Line 15: | ||
{{#if: {{{ritualskill|}}} | {{infobox row|Skill Taught|[[{{{ritualskill}}}]] (-{{{skillrep|?}}} reputation)}} }} | {{#if: {{{ritualskill|}}} | {{infobox row|Skill Taught|[[{{{ritualskill}}}]] (-{{{skillrep|?}}} reputation)}} }} | ||
{{#if: {{{recipe|}}} | {{infobox row|Recipe Taught|[[{{{recipe}}}]] (-{{{reciperep|?}}} reputation)}} }} | {{#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]] | |||
{| class="wikitable" | {| class="wikitable" | ||
! visible | ! visible |
Revision as of 01:12, 7 August 2019
This template defines the table "Factions". View table. This template adds rows to the table "GeneralData", which is declared by the template General data table. View table.
visible | if the faction is visible in game. defaults to yes. only shows up if this is set to no. | 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 |
parentfaction | what this faction inherits from | string |