Template:WoW/patch: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
(add Alpha/Beta for date)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<onlyinclude><includeonly>'''[[Patch {{{patchpage|{{{patch}}}}}}|Patch {{{patch}}}]] ({{#if:{{{date|}}}|{{#switch:{{{date|}}}|Beta={{text|Cyan|Beta}}|PTR={{text|MediumVioletRed|PTR}}|Beta/PTR={{text|Cyan|Beta}}/{{text|MediumVioletRed|PTR}}|PTR/Beta={{text|MediumVioletRed|PTR}}/{{text|Cyan|Beta}}|[[patch date::{{{date}}}]]}}}}):''' {{#if:{{{bluenote|}}}
{{documentation}}
|"{{text|blizz|{{{bluenote}}}}}"
----
|{{{note|}}}<!--
;Template
:is the intent to actually force a <nowiki>':'</nowiki> and a line break after the 'inline' part?
<onlyinclude><includeonly>'''[[Patch {{{patchpage|{{{patch}}}}}}|<span style="{{#if:{{{tip|}}}|border-bottom:1px dotted gray;}}" title="{{{tip|Patch {{{patch}}}}}}">Patch {{{patch}}}</span>]] ({{#if:{{{date|}}}|{{#switch:{{{date|}}}
|Alpha={{text|Aquamarine|[[patch release status::Alpha]]|class=patch-release-status-alpha}}
|Alpha/Beta={{text|Cyan|[[patch release status::Beta]]|class=patch-release-status-beta}}
|Beta={{text|Cyan|[[patch release status::Beta]]|class=patch-release-status-beta}}
|Beta/PTR={{text|Cyan|[[patch release status::Beta]]}}/{{text|MediumVioletRed|[[patch release status::PTR]]|class=patch-release-status-ptr}}
|NYI={{text|Teal|[[patch release status::NYI]]|class=patch-release-status-nyi}}
|NYR={{text|Purple|[[patch release status::NYR]]|class=patch-release-status-nyr}}
|PTR={{text|MediumVioletRed|[[patch release status::PTR]]|class=patch-release-status-ptr}}
|PTR/Beta={{text|MediumVioletRed|[[patch release status::PTR]]}}/{{text|Cyan|[[patch release status::Beta]]|class=patch-release-status-beta-ptr}}
|[[patch date::{{{date}}}]]}}<!--end of switch-->}}){{#ifeq:{{{t|}}}|inline||<nowiki>:</nowiki>}}''' {{#if:{{{bluenote|}}}|"{{text|blizz|{{{bluenote}}}}}"|{{{note|}}}<!--
-->}}{{#if:{{{link|}}}|&nbsp;([{{{link|}}} Source])<!--
-->}}{{#if:{{{link|}}}|&nbsp;([{{{link|}}} Source])<!--
-->}}{{#if:{{{comment|}}}|{{#if:{{{note|{{{bluenote|}}}}}}|<br />
-->}}{{#if:{{{comment|}}}|{{#if:{{{note|{{{bluenote|}}}}}}|<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}}&nbsp;<i>{{{comment}}}</i>|}}<!--
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}}<!--
-->{{#ifeq:{{{t|}}}|inline||<br />}}</includeonly></onlyinclude>
-->}}&nbsp;<i>{{{comment|}}}</i><br /></includeonly></onlyinclude>
{{documentation}}

Latest revision as of 21:32, 2 May 2018


Template
is the intent to actually force a ':' and a line break after the 'inline' part?