版本差异对比:Template:Decision
对比版本 #12549 与版本 #78655 的 MediaWiki 双栏 Wikitext 差异
+8 行-8 行
第 1 行:
第 1 行:
<includeonly>{{infobox
<includeonly>{{infobox
−|class=eu4box-inline eu4box
+|class=eu4box-inline
−|header= {{#Switch: {{{header}}}
+|header= {{#if:{{{decision_id|}}}|{{anchor|{{{decision_id}}} }} <div style="float:right; font-size:smaller"><abbr title="{{{decision_id}}}">ID</abbr></div> }}<!--end anchor -->{{#Switch: {{{header}}}
− | #Default = ===[[File:execute_decision.png]]{{{decision_name}}}===
+ | #Default = <h3>[[File:execute_decision.png]]{{{decision_name}}}</h3>
− | h2 = ==[[File:execute_decision.png]]{{{decision_name}}}==
+ | h2 = <h2>[[File:execute_decision.png]]{{{decision_name}}}</h2>
− | h4 = ====[[File:execute_decision.png]]{{{decision_name}}}====
+ | h4 = <h4>[[File:execute_decision.png]]{{{decision_name}}}</h4>
− | h5 = =====[[File:execute_decision.png]]{{{decision_name}}}=====
+ | h5 = <h5>[[File:execute_decision.png]]{{{decision_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_event|{{{version}}}|infobox|nocat={{{nocat|}}}}}|<span style="color: red;">缺少版本信息!</span>[[Category:信息框缺少版本信息的页面]]
----
----
}}
}}
−{{#if:{{{decision_text|}}} |''{{{decision_text}}}''
+{{#if:{{{decision_text|}}} |{{{decision_text}}}
----}}
----}}
<div class="mw-collapsible {{#ifeq:{{{collapse|yes}}}|yes|mw-collapsed}}">
<div class="mw-collapsible {{#ifeq:{{{collapse|yes}}}|yes|mw-collapsed}}">
