Template:Sultan history event: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 23: Line 23:
   {{#if:{{{becomessultan|}}}| {{infobox row|{{Tooltip|This event elevates the destined sultan to<br>a recognized position as sultan of Qud.|Becomes sultan?}}|{{{becomessultan|no}}}}} }}
   {{#if:{{{becomessultan|}}}| {{infobox row|{{Tooltip|This event elevates the destined sultan to<br>a recognized position as sultan of Qud.|Becomes sultan?}}|{{{becomessultan|no}}}}} }}
   {{#if:{{{relicrevealing|}}}| {{infobox row|{{Tooltip|Uncovering this sultan history event triggers<br>a "recover relic" quest to find the lost relic|Relic revealing?}}|{{{relicrevealing|no}}}}} }}
   {{#if:{{{relicrevealing|}}}| {{infobox row|{{Tooltip|Uncovering this sultan history event triggers<br>a "recover relic" quest to find the lost relic|Relic revealing?}}|{{{relicrevealing|no}}}}} }}
   {{#if:{{{regionrevealing|}}}| {{infobox row|{{Tooltip|Uncovering this sultan history event<br>can potentially reveal a [[historic site]]<br>(if the region has an historic site)|Region revealing?}}|{{{regionrevealing|no}}}}} }}
   {{#if:{{{regionrevealing|}}}| {{infobox row|{{Tooltip|Uncovering this sultan history event<br>can potentially reveal a [[historic site]]<br>(only if this region has a historic site)|Region revealing?}}|{{{regionrevealing|no}}}}} }}
   {{#if:{{{resultsinfakedeath|}}}| {{infobox row|{{Tooltip|This event will be immediately followed<br>by a [[Sultan_histories#Death_Reversal_Events|death reversal event]]|Leads to faked death?}}|{{{resultsinfakedeath|no}}}}} }}
   {{#if:{{{resultsinfakedeath|}}}| {{infobox row|{{Tooltip|This event will be immediately followed<br>by a [[Sultan_histories#Death_Reversal_Events|death reversal event]]|Leads to faked death?}}|{{{resultsinfakedeath|no}}}}} }}
}}
}}

Revision as of 19:20, 13 December 2020


Creates an infobox that defines the parameters of a sultan history event type. Used on the sultan histories page.

Required parameters:

  • title
  • id

Optional parameters:

  • cognomen
  • likedfaction
  • hatedfaction
  • newrelic
  • lostrelic
  • newlocation
  • renamedlocation
  • newtheme
  • newprofession
  • regionrevealing
  • relicrevealing
  • resultsinfakedeath
  • significantcolor
  • becomessultan
  • variation
  • relativeref
    • set to any value to use a relative reference (when the ID was already specified earlier on the page)

Example

{{sultan history event
| title = Born as Heir
| id = BornAsHeir
| cognomen = yes
}}
Born as Heir [1]
Adds a cognomenA nickname for the sultan, which may also
be used later to name sultan cults or relics
?

yes

References

  1. XRL.Annals.BornAsHeir