Difference between revisions of "Template:Patch"

From Morloch Wiki
Jump to: navigation, search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
<noinclude>{{Ti|adding a patch navbar to the bottom of patch pages}}
 +
</noinclude>
 
----
 
----
{| style="margin: 1em auto 1em auto; 10px; width:50%; border: 1px solid #99CC99; text-align:center; padding: 1px; background-color: #F0FFF0;"
+
{| style="margin: 1em auto 1em auto; 10px; width:33%; border: 0px solid #a34941; text-align:center; padding: 1px; background-color: #7fd5f9;"
 
|-
 
|-
| rowspan="2" style="font-size:200%; background-color: #A3CCA3;" | [[file:Larrow.png|link={{{pretver}}}]]
+
| rowspan="2" style="font-size:200%; width: 50px; background-color: #7fd5f9;" | [[file:Larrow.png|link={{{prever}}}]]
 
| style="text-align:right;" | '''Previous Version''':
 
| style="text-align:right;" | '''Previous Version''':
| style="text-align:left;" | [[{{{prever}}}]]
+
| style="text-align:left;" | [[{{{prever|No Previous Version}}}]]
| rowspan="2" style="font-size:200%; background-color: #A3CCA3;" |  [[file:Rarrow.png|link={{{nextver}}}]]
+
| rowspan="2" style="font-size:200%; width: 50px; background-color: #7fd5f9;" |  [[file:Rarrow.png|link={{{nextver}}}]]
 
|-
 
|-
 
| style="text-align:right;" |'''Next Version''':
 
| style="text-align:right;" |'''Next Version''':
| style="text-align:left;" | [[{{{nextver}}}]]
+
| style="text-align:left;" | [[{{{nextver|No Next Version}}}]]
 
|}
 
|}
 +
<div style="font-size:80%; text-align: center;">
 +
[[Patch History]] {{-}} [[In Development]] {{-}} [[Known Issues]]</div>
 
[[Category: Patch History]]
 
[[Category: Patch History]]
<noinclude>
 
== Example ==
 
[[Category: Wiki Templates]]
 
{{Patch
 
|prever=24.2
 
|nextver=24.3
 
}}
 
</noinclude>
 

Latest revision as of 22:16, 21 December 2017

Template:Patch is used for adding a patch navbar to the bottom of patch pages.

How to Use Template:Patch

  • This template can be added to a page by typing the following in the page's code with any applicable parameters inserted after the name:
{{Patch}}

Raw Example of Template:Patch


link={{{prever}}} Previous Version: No Previous Version link={{{nextver}}}
Next Version: No Next Version
Patch History    In Development    Known Issues