Template:Faction: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(favilinlk ritualliquid in infobox, and hide if not visible)
(change obliterate faction eligible to Old)
Line 50: Line 50:
{{#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|50}}} reputation)}} }}  
{{#if: {{{recipe|}}}      | {{infobox row|Recipe Taught|[[{{{recipe}}}]] (-{{{reciperep|50}}} reputation)}} }}  
{{infobox row|[[Obliterate Faction]] usable|{{#ifeq: {{{visible|}}}|no|no|{{{old|yes}}} }} }}
{{infobox row|[[Old factions|Old]]{{Tooltip|Whether this faction existed during the</br>sultanate, which determines if they:</br><li>can be [[Obliterate Faction|obliterated]]<li>can be [[Fabricate Creature|fabricated]]<li>can be [[Cherubim]] }} |{{#ifeq: {{{visible|}}}|no|no|{{{old|yes}}} }} }}
{{#if: {{{id|}}}          | {{infobox row|ID{{Tooltip|Use this ID to [[Wishes|Wish]] for faction reputation<br>Example: <code>factionrep:{{{id}}}:100</code>}}|{{{id}}} }} }} }} </includeonly><noinclude>[[Category:Cargo Store Templates]]
{{#if: {{{id|}}}          | {{infobox row|ID{{Tooltip|Use this ID to [[Wishes|Wish]] for faction reputation<br>Example: <code>factionrep:{{{id}}}:100</code>}}|{{{id}}} }} }} }} </includeonly><noinclude>[[Category:Cargo Store Templates]]
{| class="wikitable"
{| class="wikitable"
Line 100: Line 100:
| what this faction inherits from
| what this faction inherits from
| string
| string
|}</noinclude>
|}</noinclude><noinclude>{{faction
| id = highly entropic beings
| title= highly entropic beings
| ritualliquid=Neutron Flux
| baserep=0
| feelings={{faction feelings|Others|0}}
| buyinterests=everything
}}</noinclude>

Revision as of 20:31, 7 January 2021

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 (defaults to skill cost in SP) Integer
ritualliquid the liquid used in water ritual with legendaries of this faction. Defaults to Water String
parentfaction what this faction inherits from string
highly entropic beings
Water Ritual Liquid

neutron flux

Initial Player
Reputation

0

Relationships

Others: Neutral0 Reputation

Interested
in Learning

everything

Old?Whether this faction existed during the
sultanate, which determines if they:
  • can be obliterated
  • can be fabricated
  • can be Cherubim
  • yes

    ID?Use this ID to Wish for faction reputation
    Example: factionrep:highly entropic beings:100

    highly entropic beings