Difference between revisions of "Template:AboutPerformance"

From MansonWiki, the Marilyn Manson encyclopedia
Jump to: navigation, search
(date parameter is scheduled)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<div style="display: none;">
 
<div style="display: none;">
  
{{#if: {{{day|}}} {{{month|}}} {{{year|}}} | [[Category:Scheduled to rework]]}}
+
{{#if: {{{day|}}} {{{month|}}} {{{year|}}} | }}
  
{{#if {{{date|}}}
+
{{#if: {{{date|}}}
| {{#vardefine: day | DAY}}
+
| {{#vardefine: day   | <!-- JUST TRIM LEAD ZERO -->
   {{#vardefine: month | MONTH}}
+
    {{#ifeq: {{#sub: {{#explode: {{{date|}}}|/|2}} | 0 | 1}} | 0
   {{#vardefine: year | YEAR}}
+
      | {{#sub: {{#explode: {{{date|}}}|/|2}} | 1}}
| {{#vardefine: day | {{{day|}}}}}
+
      | {{#explode: {{{date|}}}|/|2}}
 +
    }}   
 +
  }}
 +
   {{#vardefine: month | {{#explode: {{{date|}}}|/|1}} }}
 +
   {{#vardefine: year | {{#explode: {{{date|}}}|/|0}} }}
 +
| {{#vardefine: day   | {{{day|}}}}}
 
   {{#vardefine: month | {{{month|}}}}}
 
   {{#vardefine: month | {{{month|}}}}}
   {{#vardefine: year | {{{year|}}}}}
+
   {{#vardefine: year | {{{year|}}}}}
 
}}
 
}}
  
Line 31: Line 36:
 
}}
 
}}
 
{ { Flag | { { { country | { { # v a r : c o u n t r y _ D E L E G A T E } } } } } } }
 
{ { Flag | { { { country | { { # v a r : c o u n t r y _ D E L E G A T E } } } } } } }
</div><includeonly><span class="x-debug">The performance on '''{{#var:month}} {{#var:day}}, {{#var:year}}'''{{#if: {{{alias|}}}|&#32;(also known as {{{alias}}})}} took place at {{#var:venue}} in {{#var:city}}, {{#if: {{#var:state}} | {{#var:state}},}} {{#var:country}}{{#if: {{{suffix|}}} | &#32;{{{suffix|}}} | }}.</span></includeonly><noinclude>Sample usage:<br/><code><nowiki>{{AboutPerformance | day = 1 | month = 6 | year = 1990 | venue = the Squeeze | city = Fort Lauderdale | unit = FL.us}}</nowiki><br/><nowiki>{{AboutPerformance | day = 19 | month = 12 | year = 1998 | venue = Le Zenith | city = Paris | country = fr}}</nowiki></code>[[Category:Templates]]</noinclude>
+
</div><includeonly><span class="x-debug">The performance on '''{{#var:month}} {{#var:day}}, {{#var:year}}'''{{#if: {{{alias|}}}|&#32;(also known as {{{alias}}})}} took place at {{#var:venue}} in {{#var:city}}, {{#if: {{#var:state}} | {{#var:state}},}} {{#var:country}}{{#if: {{{suffix|}}} | &#32;{{{suffix|}}} | }}.</span></includeonly><noinclude>Sample usage:<br/><code><nowiki>{{AboutPerformance | day = 1 | month = 6 | year = 1990 | venue = the Squeeze | city = Fort Lauderdale | unit = FL.us}}</nowiki><br/><nowiki>{{AboutPerformance | day = 19 | month = 12 | year = 1998 | venue = Le Zenith | city = Paris | country = fr}}</nowiki><br/><nowiki>{{AboutPerformance | date = 2014/08/06 | venue = Ronda TivoliVredenburg | city = Utrecht | country = nl}}</nowiki></code></noinclude>

Latest revision as of 22:46, 21 March 2016








{ { Flag | { { { country | { { # v a r : c o u n t r y _ D E L E G A T E } } } } } } }

Sample usage:
{{AboutPerformance | day = 1 | month = 6 | year = 1990 | venue = the Squeeze | city = Fort Lauderdale | unit = FL.us}}
{{AboutPerformance | day = 19 | month = 12 | year = 1998 | venue = Le Zenith | city = Paris | country = fr}}
{{AboutPerformance | date = 2014/08/06 | venue = Ronda TivoliVredenburg | city = Utrecht | country = nl}}