Template:Faction: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(default to -50 rep for recipes) |
||
Line 1: | Line 1: | ||
<noinclude>{{#cargo_declare:_table=Factions| | <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|Old=Boolean|PlainName=String|JoinKey=String}} | |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 | |||
|Old=Boolean | |||
|PlainName=String | |||
|JoinKey=String}} | |||
</noinclude><includeonly>{{#cargo_store:_table=Factions | </noinclude><includeonly>{{#cargo_store:_table=Factions | ||
Line 11: | Line 24: | ||
|SellInterests={{{sellinterests|}}} | |SellInterests={{{sellinterests|}}} | ||
|SkillReputationCost={{{skillrep|0}}} | |SkillReputationCost={{{skillrep|0}}} | ||
|RecipeReputationCost={{{reciperep| | |RecipeReputationCost={{#if: {{{recipe|}}} | {{{reciperep|50}}} }} | ||
|WaterRitualLiquid={{{ritualliquid|Water}}} | |WaterRitualLiquid={{{ritualliquid|Water}}} | ||
|ParentFaction={{{parentfaction|}}} | |ParentFaction={{{parentfaction|}}} | ||
Line 36: | Line 49: | ||
{{#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|{{#cargo_query:table=Skills|fields=Cost|where=_pageName='{{{ritualskill}}}'|format=template|template=single query result|no html|limit=1|more results text=}}}}} reputation)}} }} | {{#if: {{{ritualskill|}}} | {{infobox row|Skill Taught|[[{{{ritualskill}}}]] (-{{{skillrep|{{#cargo_query:table=Skills|fields=Cost|where=_pageName='{{{ritualskill}}}'|format=template|template=single query result|no html|limit=1|more results text=}}}}} reputation)}} }} | ||
{{#if: {{{recipe|}}} | {{infobox row|Recipe Taught|[[{{{recipe}}}]] (-{{{reciperep| | {{#if: {{{recipe|}}} | {{infobox row|Recipe Taught|[[{{{recipe}}}]] (-{{{reciperep|50}}} reputation)}} }} | ||
{{infobox row|[[Obliterate Faction]] usable|{{#ifeq: {{{visible|}}}|no|no|{{{old|yes}}} }} }} | {{infobox row|[[Obliterate Faction]] usable|{{#ifeq: {{{visible|}}}|no|no|{{{old|yes}}} }} }} | ||
{{#if: {{{id|}}} | {{infobox row|ID|{{{id}}} }} }} }} </includeonly><noinclude>[[Category:Cargo Store Templates]] | {{#if: {{{id|}}} | {{infobox row|ID|{{{id}}} }} }} }} </includeonly><noinclude>[[Category:Cargo Store Templates]] |
Revision as of 17:15, 8 September 2020
This template defines the table "Factions". 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 |