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 1: Line 1:
<includeonly><!--
<includeonly><!--


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


-->{{Infobox
-->{{Infobox
Line 20: Line 20:
   {{#if:{{{newprofession|}}}| {{infobox row|{{Tooltip|Sets or changes the sultan's profession,<br>which can influence [[relics]] and [[historic sites]].|New profession?}}|{{{newprofession|no}}}}} }}
   {{#if:{{{newprofession|}}}| {{infobox row|{{Tooltip|Sets or changes the sultan's profession,<br>which can influence [[relics]] and [[historic sites]].|New profession?}}|{{{newprofession|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#Faked_Death_Events|faked death event]]|Leads to faked death?}}|{{{resultsinfakedeath|no}}}}} }}
}}
}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>


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


Required parameters:
Required parameters:
Line 40: Line 41:
* newprofession  
* newprofession  
* regionrevealing
* regionrevealing
* resultsinfakedeath
* relativeref
* relativeref
** set to any value to use a relative reference (when the ID was already specified earlier on the page)
** set to any value to use a relative reference (when the ID was already specified earlier on the page)
Used on the [[sultan histories]] page.


== Example ==
== Example ==

Revision as of 02: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
  • resultsinfakedeath
  • 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