Template:Sultan history event: Difference between revisions
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|}}}{{{resultsinfakedeath|}}} |yes|no}}}}<!-- | -->{{#vardefine:has_any_special_effects|{{#if: {{{likedfaction|}}}{{{lovedfaction|}}}{{{hatedfaction|}}}{{{cognomen|}}}{{{newrelic|}}}{{{lostrelic|}}}{{{newlocation|}}}{{{renamedlocation|}}}{{{newtheme|}}}{{{newprofession|}}}{{{regionrevealing|}}}{{{resultsinfakedeath|}}} |yes|no}}}}<!-- | ||
-->{{Infobox | -->{{Infobox | ||
Line 10: | Line 10: | ||
{{#ifeq: {{#var:has_any_special_effects}}|no | {{#ifeq: {{#var:has_any_special_effects}}|no | ||
|{{infobox row||{{qud text|This event has no special effects.}}}} | |{{infobox row||{{qud text|This event has no special effects.}}}} | ||
|{{#if:{{{likedfaction|}}}| {{infobox row|{{Tooltip| | |{{#if:{{{likedfaction|}}}| {{infobox row|{{Tooltip|A faction involved in this event becomes<br>favored, and may appear in this sultan's [[sultan cult|cults]]<br>or have a +200 reputation bonus on sultan [[relics]]|Adds liked faction}}?|{{{likedfaction|no}}}}} }} | ||
{{#if:{{{hatedfaction|}}}| {{infobox row|Adds hated faction?|{{{hatedfaction|no}}}}} }} | {{#if:{{{lovedfaction|}}}| {{infobox row|{{Tooltip|A faction involved in this event becomes<br>loved, and may appear in this sultan's [[sultan cult|cults]]<br>or have a +400 reputation bonus on sultan [[relics]]|Adds loved faction}}?|{{{lovedfaction|no}}}}} }} | ||
{{#if:{{{hatedfaction|}}}| {{infobox row|{{Tooltip|A faction involved in this event<br>becomes hated by the sultan|Adds hated faction?}}|{{{hatedfaction|no}}}}} }} | |||
{{#if:{{{cognomen|}}}| {{infobox row|{{Tooltip|A nickname for the sultan, which may also<br>be used later to name [[sultan cults]] or [[relics]]|Adds a cognomen}}?|{{{cognomen|no}}}}} }} | {{#if:{{{cognomen|}}}| {{infobox row|{{Tooltip|A nickname for the sultan, which may also<br>be used later to name [[sultan cults]] or [[relics]]|Adds a cognomen}}?|{{{cognomen|no}}}}} }} | ||
{{#if:{{{newrelic|}}}| {{infobox row|Creates relic?|{{{newrelic|no}}}}} }} | {{#if:{{{newrelic|}}}| {{infobox row|Creates relic?|{{{newrelic|no}}}}} }} |
Revision as of 03:08, 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
- ↑
XRL.Annals.BornAsHeir