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 12: Line 12:
   |{{#if:{{{likedfaction|}}}| {{infobox row|Adds liked faction?|{{{likedfaction|no}}}}} }}
   |{{#if:{{{likedfaction|}}}| {{infobox row|Adds liked faction?|{{{likedfaction|no}}}}} }}
   {{#if:{{{hatedfaction|}}}| {{infobox row|Adds hated faction?|{{{hatedfaction|no}}}}} }}
   {{#if:{{{hatedfaction|}}}| {{infobox row|Adds hated faction?|{{{hatedfaction|no}}}}} }}
   {{#if:{{{cognomen|}}}| {{infobox row|Adds a {{Tooltip|A nickname that others use to refer to<br>the sultan for the rest of their lives|cognomen}}?|{{{cognomen|no}}}}} }}
   {{#if:{{{cognomen|}}}| {{infobox row|Adds a {{Tooltip|A nickname for the sultan, which may<br>also be used to name [[sultan cults]] or [[relics]]|cognomen}}?|{{{cognomen|no}}}}} }}
   {{#if:{{{newrelic|}}}| {{infobox row|Creates relic?|{{{newrelic|no}}}}} }}
   {{#if:{{{newrelic|}}}| {{infobox row|Creates relic?|{{{newrelic|no}}}}} }}
   {{#if:{{{lostrelic|}}}| {{infobox row|Loses relic?|{{{lostrelic|no}}}}} }}
   {{#if:{{{lostrelic|}}}| {{infobox row|Loses relic?|{{{lostrelic|no}}}}} }}

Revision as of 23:02, 12 December 2020


Creates an infobox that defines the parameters of a sultan history event type.

Required parameters:

  • title
  • id

Optional parameters:

  • cognomen
  • likedfaction
  • hatedfaction
  • newrelic
  • lostrelic
  • newlocation
  • renamedlocation
  • newtheme
  • newprofession
  • regionrevealing
  • relativeref
    • 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

{{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 to name sultan cults or relics
?

yes

References

  1. XRL.Annals.BornAsHeir