Template:Sultan history event: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
remove unnecessary relativeref param
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly><!--


-->{{#vardefine:has_any_special_effects|{{#if: {{{likedfaction|}}}{{{lovedfaction|}}}{{{hatedfaction|}}}{{{cognomen|}}}{{{newrelic|}}}{{{lostrelic|}}}{{{newlocation|}}}{{{renamedlocation|}}}{{{newtheme|}}}{{{newprofession|}}}{{{regionrevealing|}}}{{{relicrevealing|}}}{{{resultsinfakedeath|}}}{{{significantcolor|}}}{{{becomessultan|}}} |yes|no}}}}<!--
-->{{#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
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|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:{{{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:{{{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:{{{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:{{{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|{{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:{{{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}}}}} }}
Line 18: Line 18:
   {{#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:{{{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:{{{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:{{{becomessultan|}}}| {{infobox row|{{Tooltip|This event elevates the destined sultan to<br>a recognized position as sultan of Qud.|Becomes sultan?}}|{{{becomessultan|no}}}}} }}
   {{#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:{{{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:{{{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:{{{resultsinfakedeath|}}}| {{infobox row|{{Tooltip|This event will be immediately followed<br>by a [[Sultan_histories#Death_Reversal_Events|death reversal event]]|Leads to faked death?}}|{{{resultsinfakedeath|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 44: Line 46:
* newtheme
* newtheme
* newprofession  
* newprofession  
* regionshifting
* regionrevealing
* regionrevealing
* relicrevealing
* relicrevealing
* resultsinfakedeath
* falsedeath
* significantcolor
* significantcolor
* becomessultan
* becomessultan
* monumentatlocation
* variation
* variation



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

  1. XRL.Annals.BornAsHeir