Template:Sultan history event: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
-->{{#vardefine:has_any_special_effects|{{#if: {{{likedfaction|}}}{{{hatedfaction|}}}{{{cognomen|}}}{{{newrelic|}}}{{{lostrelic|}}}{{{newlocation|}}}{{{renamedlocation|}}}{{{newtheme|}}}{{{newprofession|}}}{{{regionrevealing|}}}{{{ | -->{{#vardefine:has_any_special_effects|{{#if: {{{likedfaction|}}}{{{lovedfaction|}}}{{{hatedfaction|}}}{{{cognomen|}}}{{{newrelic|}}}{{{lostrelic|}}}{{{newlocation|}}}{{{renamedlocation|}}}{{{monumentatlocation|}}}{{{newtheme|}}}{{{newprofession|}}}{{{regionshifting|}}}{{{regionrevealing|}}}{{{relicrevealing|}}}{{{falsedeath|}}}{{{significantcolor|}}}{{{becomessultan|}}} |yes|no}}}}<!-- | ||
-->{{Infobox | -->{{Infobox | ||
| image = none | | image = none | ||
| title = <div style="min-height:64px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;">{{{title}}} <small> | | title = <div style="min-height:64px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;">{{{title}}} <small>{{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 = | ||
{{#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]]|Favored 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 becomes hated<br>by the sultan, and may feature in later events<br>or have a -200 reputation penalty on sultan [[relics]]|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|{{Tooltip|A new relic. This relic can be lost during future<br>sultan events. Otherwise, it will be entombed in<br>the [[sultan reliquary|sultan's reliquary]] in the [[Tomb of the Eaters]].|Creates relic?}}|{{{newrelic|no}}}}} }} | ||
{{#if:{{{lostrelic|}}}| {{infobox row|{{Tooltip|If the sultan has accumulated any relics from prior<br>events, one of those relics will be lost during this<br>event at the location where it takes place.|Loses relic?}}|{{{lostrelic|no}}}}} }} | {{#if:{{{lostrelic|}}}| {{infobox row|{{Tooltip|If the sultan has accumulated any relics from prior<br>events, one of those relics will be lost during this<br>event at the location where it takes place.|Loses relic?}}|{{{lostrelic|no}}}}} }} | ||
{{#if:{{{newlocation|}}}| {{infobox row|{{Tooltip|A new location in the<br>[[World_generation#Regions_and_Locations|world's generated history]]|Adds new location}}?|{{{newlocation|no}}}}} }} | {{#if:{{{newlocation|}}}| {{infobox row|{{Tooltip|A new location in the<br>[[World_generation#Regions_and_Locations|world's generated history]]|Adds new location}}?|{{{newlocation|no}}}}} }} | ||
{{#if:{{{renamedlocation|}}}| {{infobox row|Renames location?|{{{renamedlocation|no}}}}} }} | {{#if:{{{renamedlocation|}}}| {{infobox row|Renames location?|{{{renamedlocation|no}}}}} }} | ||
{{#if:{{{monumentatlocation|}}}| {{infobox row|{{Tooltip|A monument to the sultan is built at this location<br>(currently not used in any meaningful way; it<br>won't be found if the player visits the location)|Adds a monument?}}|{{{monumentatlocation|no}}}}} }} | |||
{{#if:{{{newtheme|}}}| {{infobox row|{{Tooltip|Sultans begin with one [[sultan theme|theme]], but can gain<br>additional themes from certain events|Adds sultan theme}}?|{{{newtheme|no}}}}} }} | {{#if:{{{newtheme|}}}| {{infobox row|{{Tooltip|Sultans begin with one [[sultan theme|theme]], but can gain<br>additional themes from certain events|Adds sultan theme}}?|{{{newtheme|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:{{{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 | {{#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:{{{ | {{#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:{{{regionshifting|}}}| {{infobox row|{{Tooltip|This event triggers a relocation<br>of the sultan to a new region.|Region shifting?}}|{{{regionshifting|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>(only if this region has a historic site)|Region revealing?}}|{{{regionrevealing|no}}}}} }} | |||
{{#if:{{{falsedeath|}}}| {{infobox row|{{Tooltip|This event will be immediately followed<br>by a [[Sultan_histories#Death_Reversal_Events|death reversal event]]|False death?}}|{{{falsedeath|no}}}}} }} | |||
}} | }} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Line 40: | Line 46: | ||
* newtheme | * newtheme | ||
* newprofession | * newprofession | ||
* regionshifting | |||
* regionrevealing | * regionrevealing | ||
* | * relicrevealing | ||
* falsedeath | |||
* significantcolor | |||
* becomessultan | |||
* monumentatlocation | |||
* variation | * variation | ||
== Example == | == Example == |
Latest revision as of 00:48, 19 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
- regionshifting
- regionrevealing
- relicrevealing
- falsedeath
- significantcolor
- becomessultan
- monumentatlocation
- variation
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