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 5: Line 5:
-->{{Infobox
-->{{Infobox
| image = none
| image = none
| title = <div style="min-height:64px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;">{{{title}}}&nbsp;<small>{{#if:{{{relativeref|}}}|{{#tag: ref || name={{{id}}} }}|{{Code Reference|name={{{id}}}|namespace=XRL.Annals|class={{{id}}}}}}}</small>{{#if:{{{variation|}}}|<br><small>{{qud text|&Kvariation {{{variation}}}}}</small>}}</div>
| title = <div style="min-height:64px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;">{{{title}}}&nbsp;<small>{{#if:{{{relativeref|}}}|{{#tag: ref || name={{{id}}} }}|{{Code Reference|name={{{id}}}|namespace=XRL.Annals|class={{{id}}}}}}}</small>{{#if:{{{variation|}}}|<br><small>{{qud text|&K{{{variation}}}}}</small>}}</div>
| class = qud-sultan-history-event-infobox
| class = qud-sultan-history-event-infobox
| rows =
| rows =
Line 42: Line 42:
* regionrevealing
* regionrevealing
* resultsinfakedeath
* resultsinfakedeath
* variation
* 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)

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