Template:Navbox Patch Notes: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia
(fixing errors in previous commit)
imported>Sekoia
(more legible template code)
Line 1: Line 1:
{{navbox|
{{#ifeq:{{#sub:{{PAGENAME}}|0|12}}|Patch Notes/|
  {{#ifexpr:{{#len:{{PAGENAME}}}} >= 21|{{#set:Publication Date={{#sub:{{PAGENAME}}|12|10}}}}
  }}
}}{{navbox|
| name = PatchNotes
| name = PatchNotes
| title = [[Patch Notes]]
| title = [[Patch Notes]]
Line 36: Line 39:
}}|{{PatchNotes/year|2012}}}}
}}|{{PatchNotes/year|2012}}}}


}}{{#ifeq:{{#sub:{{PAGENAME}}|0|12}}|Patch Notes/|{{#ifexpr:{{#len:{{PAGENAME}}}} >= 21|{{#set:Publication Date={{#sub:{{PAGENAME}}|12|10}}}}}}}}<noinclude>
}}<noinclude>
[[Category:Navigation Templates]]
[[Category:Navigation Templates]]
</noinclude>
</noinclude>

Revision as of 03:06, 29 June 2012