Template:Sultan history event: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
<includeonly><!--
<includeonly><!--


-->{{#vardefine:has_any_special_effects|{{#if: {{{likedfaction|}}}{{{lovedfaction|}}}{{{hatedfaction|}}}{{{cognomen|}}}{{{newrelic|}}}{{{lostrelic|}}}{{{newlocation|}}}{{{renamedlocation|}}}{{{newtheme|}}}{{{newprofession|}}}{{{regionrevealing|}}}{{{resultsinfakedeath|}}}{{{significantcolor|}}}{{{becomessultan|}}} |yes|no}}}}<!--
-->{{#vardefine:has_any_special_effects|{{#if: {{{likedfaction|}}}{{{lovedfaction|}}}{{{hatedfaction|}}}{{{cognomen|}}}{{{newrelic|}}}{{{lostrelic|}}}{{{newlocation|}}}{{{renamedlocation|}}}{{{newtheme|}}}{{{newprofession|}}}{{{regionrevealing|}}}{{{relicrevealing|}}}{{{resultsinfakedeath|}}}{{{significantcolor|}}}{{{becomessultan|}}} |yes|no}}}}<!--


-->{{Infobox
-->{{Infobox
Line 22: Line 22:
   {{#if:{{{significantcolor|}}}| {{infobox row|{{Tooltip|Sets or changes the sultan's significant<br>color, which can affect future events and cognomen.|Significant color?}}|{{{significantcolor|no}}}}} }}
   {{#if:{{{significantcolor|}}}| {{infobox row|{{Tooltip|Sets or changes the sultan's significant<br>color, which can affect future events and cognomen.|Significant color?}}|{{{significantcolor|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:{{{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:{{{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>(if the region has an 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}}}}} }}
Line 44: Line 45:
* newprofession  
* newprofession  
* regionrevealing
* regionrevealing
* relicrevealing
* resultsinfakedeath
* resultsinfakedeath
* significantcolor
* significantcolor

Revision as of 18:44, 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