Difference between revisions of "Template:InfoHeader UOFiction"

m
m
Line 1: Line 1:
 
{{#vardefine:year|{{#sub:{{PAGENAME}}|0|4}}}}{{#vardefine:month|{{#sub:{{PAGENAME}}|5|2}}}}{{#vardefine:day|{{#sub:{{PAGENAME}}|8|2}}}}
 
{{#vardefine:year|{{#sub:{{PAGENAME}}|0|4}}}}{{#vardefine:month|{{#sub:{{PAGENAME}}|5|2}}}}{{#vardefine:day|{{#sub:{{PAGENAME}}|8|2}}}}
 
__NOEDITSECTION__
 
__NOEDITSECTION__
<div style="font-family: Times New Roman, Times, serif;border-radius: 25px;border: 1px white solid;padding: .7em 2em;display: inline-block;font-size: 115%;background-color:white;font-weight: 700;">
+
<div style="font-family: Times New Roman, Times, serif;border-radius: 25px;border: 1px white solid;padding: .7em 2em;display: inline-block;font-size: 115%;background-color:white;font-weight: 700;width: 38em;">
 
{{#switch:{{{type|}}}
 
{{#switch:{{{type|}}}
 
| BNN = [[Image:BNNMasthead.gif]]<br/><br/>
 
| BNN = [[Image:BNNMasthead.gif]]<br/><br/>
Line 13: Line 13:
 
{|
 
{|
 
| style="padding-left:3em;padding-right:5em;color:black;" | Author: [[UO:{{{author|unknown author}}}]]
 
| style="padding-left:3em;padding-right:5em;color:black;" | Author: [[UO:{{{author|unknown author}}}]]
| style="padding-right:2em;color:black;" | Published: {{#dateformat:{{#var:year}}-{{#var:month}}-{{#var:day}}|mdy}}
+
| style="padding-right:2em;color:black;" | Published: {{#if:{{Isnumeric|{{#var:day}}}}|{{#dateformat:{{#var:year}}-{{#var:month}}-{{#var:day}}|mdy}}|{{#dateformat:{{#var:year}}-{{#var:month}}|my}}}}
 
|}
 
|}
 
</div><br/><br/>[[Category:UO Fiction]][[Category:UO {{{type|}}}]][[Category:UO {{#var:year}} {{{type|}}}]]
 
</div><br/><br/>[[Category:UO Fiction]][[Category:UO {{{type|}}}]][[Category:UO {{#var:year}} {{{type|}}}]]

Revision as of 02:18, 16 February 2017


Author: Unknown author Published: Info-ea