Template:Event: Difference between revisions

Created page with "<includeonly>{{infobox |class=eu4box-inline |500px=true |header= {{#if:{{{event_id|}}}|{{anchor|{{{event_id}}} }} }}<!--end anchor -->{{#Switch: {{{header}}} | #Default = <..."
 
mNo edit summary
 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{infobox
<includeonly>{{infobox
|class=eu4box-inline
|class=eu4box-inline
|500px=true
|header= {{#if:{{{event_id|}}}|{{anchor|{{{event_id}}} }} <div style="float:right; font-size:smaller"><abbr title="{{{event_id}}}">id</abbr></div> }}<!--end anchor -->{{#Switch: {{{header}}}
|header= {{#if:{{{event_id|}}}|{{anchor|{{{event_id}}} }} }}<!--end anchor -->{{#Switch: {{{header}}}
   | #Default = <h3>{{{event_name}}}</h3>
   | #Default = <h3>{{{event_name}}}</h3>
   | h2 = <h2>{{{event_name}}}</h2>
   | h2 = <h2>{{{event_name}}}</h2>
Line 8: Line 7:
   | h5 = <h5>{{{event_name}}}</h5>
   | h5 = <h5>{{{event_name}}}</h5>
}}
}}
|content = {{#if:{{{version|}}}|{{SVersion|{{{version}}}|infobox|nocat={{{nocat|}}}}}|<span style="color: red;">missing versioning</span>[[Category:Pages with infoboxes without versioning]]
|content = {{#if:{{{version|}}}|{{SVersion|{{{version}}}|infobox}}|<span style="color: red;">missing versioning</span>[[Category:Pages with infoboxes without versioning]]
----
----
}}
}}
Line 20: Line 19:
{{{!}} width="100%" cellspacing="4"
{{{!}} width="100%" cellspacing="4"
{{!}}- valign="top"
{{!}}- valign="top"
{{!}}width=60%{{!}}<span class="subheading">Trigger conditions</span>
{{!}}width=60%{{!}}<span class="subheading">Conditions</span>
{{{trigger|*None}}}
{{{trigger|*None}}}
{{!}}width=40%{{!}}{{#if: {{{mtth|}}}
{{!}}width=40%{{!}}{{#if: {{{mtth|}}}
| <span class="subheading">Mean time to happen</span>
| <span class="subheading">Encounter Rewards</span>
{{{mtth}}}
{{{mtth}}}
| <span class="subheading">Is triggered only by</span>
| <span class="subheading">Info</span>
{{{triggered only}}}
{{{triggered only}}}
{{{difficulty}}}
{{{shiptype}}}
{{{steps}}}
}}
}}
{{#if:{{{immediate|}}} |{{!}}-
{{#if:{{{immediate|}}} |{{!}}-