Difference between revisions of "Template:InfoHeader UOFiction"

m
m
 
(27 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#vardefine:year|{{#sub:{{PAGENAME}}|0|4}}}}{{#vardefine:month|{{#sub:{{PAGENAME}}|5|2}}}}{{#vardefine:day|{{#sub:{{PAGENAME}}|8|2}}}}
+
{{#vardefine:year|{{{year|{{#var:year|{{#sub:{{PAGENAME}}|0|4}}}}}}}}}{{#vardefine:month|{{{month|{{#var:month|{{#sub:{{PAGENAME}}|5|2}}}}}}}}}{{#vardefine:day|{{{day|{{#var:day|{{#sub:{{PAGENAME}}|8|2}}}}}}}}}
 
__NOEDITSECTION__
 
__NOEDITSECTION__
<div style="font-family: Times New Roman, Times, serif;border: 1px white solid;padding: .7em 2em;display: inline-block;font-size: 115%;background-color:white;font-weight: 700;width: max-38em;" class="rounded">
+
<div style="font-family: Times New Roman, Times, serif;border: 1px white solid;padding: .7em 2em;display: inline-block;font-size: 115%;background-color:white;font-weight: 700;max-width: 38em;;" class="rounded">
 
{{#switch:{{{type|}}}
 
{{#switch:{{{type|}}}
| BNN = [[Image:BNNMasthead.gif|class=rounded]]<br/><br/>
+
| playerfiction = ''[[UO:Player-Written_Fiction|Player-Written Fiction]]''
| Town Cryer = <div style="background-color:white;display:inline-block;">[[Image:{{#switch:{{#var:year}}
+
| BNN = [[Image:BNNMasthead.gif|class=rounded]]<div style="float:right;color: black;font-style:italic;">{{{shard|Global}}} Edition{{#if: {{#pos:{{{shard}}}|& }}|s}}</div><br/><br/>[[Category:UO {{{type|}}}]][[Category:UO {{#var:year}} {{{type|}}}]][[Category:UO {{{type|}}}: {{{shard|Global}}} Edition{{#if: {{#pos:{{{shard}}}|& }}|s}}]]
 +
| UWOO = [[Image:UWOOlogo.jpg|class=rounded]]<br/>[[Category:UO {{{type|}}}]][[Category:UO {{#var:year}} {{{type|}}}]][[Category:UO {{{type|}}}: {{{shard|Global}}} Edition{{#if: {{#pos:{{{shard}}}|& }}|s}}]]
 +
| Stratics = [[Category:UO {{{type|}}}]][[Category:UO {{#var:year}} {{{type|}}}]][[Category:UO {{{type|}}}: {{{shard|Global}}} Edition{{#if: {{#pos:{{{shard}}}|& }}|s}}]]<div style="background-color:white;display:inline-block;">[[Image:{{#switch:{{#var:year}}
 +
| 1997
 +
| 1998
 +
| 1999
 +
| 2000 = UossBlackBackground.png
 +
| 2001 = Uoss2.gif
 +
| 2002 = Stratics1.png
 +
| 2003
 +
| 2004
 +
| 2005
 +
| 2006
 +
| 2007
 +
| 2008
 +
| 2009
 +
| 2010
 +
| 2011
 +
| 2012
 +
| 2013
 +
| 2014
 +
| 2015 = Stratics2.jpg
 +
| 2016
 +
| 2017
 +
| 2018
 +
| 2019
 +
| 2020
 +
| 2021
 +
| 2022
 +
| 2023
 +
| 2024
 +
| 2025
 +
| 2026
 +
| 2027
 +
| 2028
 +
| 2029
 +
| 2030 = Stratics3.png
 +
}}]]</div>
 +
<div style="float:right;color: black;font-style:italic;">{{{shard|Global}}} Edition{{#if: {{#pos:{{{shard}}}|& }}|s}}</div>
 +
| Town Cryer = [[Category:UO {{{type|}}}]][[Category:UO {{#var:year}} {{{type|}}}]][[Category:UO {{{type|}}}: {{{shard|Global}}} Edition{{#if: {{#pos:{{{shard}}}|& }}|s}}]]<div style="background-color:white;display:inline-block;">[[Image:{{#switch:{{#var:year}}
 
| 1997
 
| 1997
 
| 1998 = Cryer1998.gif
 
| 1998 = Cryer1998.gif
 
| 1999
 
| 1999
 
| 2000 = Cryer1999.gif
 
| 2000 = Cryer1999.gif
 +
| 2017 = TownCryer2017.png
 
}}]]</div>
 
}}]]</div>
 +
<div style="float:right;color: black;font-style:italic;">{{{shard|Global}}} Edition{{#if: {{#pos:{{{shard}}}|& }}|s}}</div>
 
}}
 
}}
<h1 style="color:navy;margin-top: 0;padding-left: 1em;">{{{title|}}}</h1>
+
<h1 style="color:navy;margin-top: 0;padding-left: 1em;">{{{title|}}} {{#if: {{{translation|}}}| / {{{translation|}}} }}</h1>
 
{|
 
{|
| style="padding-left:3em;padding-right:5em;color:black;" | Author: [[UO:{{{author|unknown author}}}]]
+
| style="padding-left:3em;padding-right:5em;color:black;white-space:nowrap;" | Author: [[UO:{{{author|unknown author}}}]]
| style="padding-right:2em;color:black;" | Published: {{#if:{{Isnumeric|{{#var:day}}}}|{{#time:F j, Y|{{#var:year}}-{{#var:month}}-{{#var:day}}}}|{{#time:F Y|{{#var:year}}-{{#var:month}}}}}}
+
| style="padding-right:2em;color:black;white-space:nowrap;" | Published: {{#if: {{{year}}}|{{#if:{{Isnumeric|{{#var:day}} }}|{{#time:F j, Y|{{#var:year}}-{{#var:month}}-{{#var:day}} }}|{{#if:{{Isnumeric|{{#var:month}} }}|{{#time:F Y|{{#var:year}}-{{#var:month}} }}|{{#time:Y|{{#var:year}} }} }} }}|Unknown}}
|}
+
|}</div>
</div><br/><br/>[[Category:UO Fiction]][[Category:UO {{{type|}}}]][[Category:UO {{#var:year}} {{{type|}}}]]
+
{{#ifeq:{{{type|}}}|Town Cryer|{{#ifeq:{{#var:year}}|2017|{{InfoBox_UOItem
 +
| customstyle = border-radius: 25px;border: 0 none transparent;
 +
| noborder = 1
 +
| graphic = 40884
 +
| hue = 0
 +
| weight = 1
 +
| generic_text_1 = {{{title|}}}
 +
| generic_text_2 = By {{{author|}}}
 +
}} }} }}
 +
<br/><br/>[[Category:UO Fiction]]

Latest revision as of 20:58, 8 April 2020


Author: Unknown author Published: Error: Invalid time.