Difference between revisions of "Template:AboutPerformance"
From MansonWiki, the Marilyn Manson encyclopedia
m |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style="display: none;"> | <div style="display: none;"> | ||
− | {{#if: {{{day|}}} {{{month|}}} {{{year|}}} | | + | {{#if: {{{day|}}} {{{month|}}} {{{year|}}} | }} |
{{#if: {{{date|}}} | {{#if: {{{date|}}} | ||
− | | {{#vardefine: day | {{#explode: {{{date|}}}|/|2}} }} | + | | {{#vardefine: day | <!-- JUST TRIM LEAD ZERO --> |
+ | {{#ifeq: {{#sub: {{#explode: {{{date|}}}|/|2}} | 0 | 1}} | 0 | ||
+ | | {{#sub: {{#explode: {{{date|}}}|/|2}} | 1}} | ||
+ | | {{#explode: {{{date|}}}|/|2}} | ||
+ | }} | ||
+ | }} | ||
{{#vardefine: month | {{#explode: {{{date|}}}|/|1}} }} | {{#vardefine: month | {{#explode: {{{date|}}}|/|1}} }} | ||
{{#vardefine: year | {{#explode: {{{date|}}}|/|0}} }} | {{#vardefine: year | {{#explode: {{{date|}}}|/|0}} }} | ||
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|}}}| (also known as {{{alias}}})}} took place at {{#var:venue}} in {{#var:city}}, {{#if: {{#var:state}} | {{#var:state}},}} {{#var:country}}{{#if: {{{suffix|}}} |  {{{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> | + | </div><includeonly><span class="x-debug">The performance on '''{{#var:month}} {{#var:day}}, {{#var:year}}'''{{#if: {{{alias|}}}| (also known as {{{alias}}})}} took place at {{#var:venue}} in {{#var:city}}, {{#if: {{#var:state}} | {{#var:state}},}} {{#var:country}}{{#if: {{{suffix|}}} |  {{{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
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}}