Difference between revisions of "CommonEventLocation"
From Sega Retro
(a broken reference is better than a broken template I guess) |
|||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{stripref|{{{1|}}}}} | <includeonly>{{#switch:{{stripref|{{{1|}}}}} | ||
|Makuhari Messe={{#vardefine:locname|[[wikipedia:Makuhari Messe|Makuhari Messe]]}}{{#vardefine:locaddress|2-1, Nakase, Mihama-ku, Chiba, Chiba Prefecture, 261-8550, Japan}} | |Makuhari Messe={{#vardefine:locname|[[wikipedia:Makuhari Messe|Makuhari Messe]]}}{{#vardefine:locaddress|2-1, Nakase, Mihama-ku, Chiba, Chiba Prefecture, 261-8550, Japan}} | ||
+ | |Tokyo Big Sight={{#vardefine:locname|[[wikipedia:Tokyo Big Sight|Tokyo Big Sight]]}}{{#vardefine:locaddress|3-11-1, Ariake, Koto-ku, Tokyo, 135-0063, Japan}} | ||
+ | |Los Angeles Convention Center={{#vardefine:locname|[[wikipedia:Los Angeles Convention Center|Los Angeles Convention Center]]}}{{#vardefine:locaddress|1201 South Figueroa Street, Los Angeles, California 90015, United States}} | ||
+ | |Earls Court={{#vardefine:locname|[[wikipedia:Earls Court Exhibition Centre|Earls Court Exhibition Centre]]}}{{#vardefine:locaddress|Kensington, Fulham, London, SW5, United Kingdom}} | ||
+ | |ExCeL London={{#vardefine:locname|[[wikipedia:ExCeL London|ExCeL London]]}}{{#vardefine:locaddress|Custom house, Docklands, London, E16, United Kingdom}} | ||
|#default={{{1|}}} | |#default={{{1|}}} | ||
}}{{#if:{{#var:locname}}|<span itemprop="name">{{#var:locname}}</span>, <span itemprop="address">{{#var:locaddress}}</span>}}{{clearvar|locname|locaddress}}</includeonly><noinclude> | }}{{#if:{{#var:locname}}|<span itemprop="name">{{#var:locname}}</span>, <span itemprop="address">{{#var:locaddress}}</span>}}{{clearvar|locname|locaddress}}</includeonly><noinclude> | ||
Many events took place in the same building. This template saves you from having to write it all. | Many events took place in the same building. This template saves you from having to write it all. | ||
+ | ==Japan== | ||
{|class="prettytable sortable" | {|class="prettytable sortable" | ||
!Code | !Code | ||
Line 11: | Line 16: | ||
|<pre>{{CommonEventLocation|Makuhari Messe}}</pre> | |<pre>{{CommonEventLocation|Makuhari Messe}}</pre> | ||
|{{CommonEventLocation|Makuhari Messe}} | |{{CommonEventLocation|Makuhari Messe}} | ||
+ | |- | ||
+ | |<pre>{{CommonEventLocation|Tokyo Big Sight}}</pre> | ||
+ | |{{CommonEventLocation|Tokyo Big Sight}} | ||
|} | |} | ||
+ | |||
+ | ==US== | ||
+ | {|class="prettytable sortable" | ||
+ | !Code | ||
+ | !Result | ||
+ | |- | ||
+ | |<pre>{{CommonEventLocation|Los Angeles Convention Center}}</pre> | ||
+ | |{{CommonEventLocation|Los Angeles Convention Center}} | ||
+ | |} | ||
+ | |||
+ | ==UK== | ||
+ | {|class="prettytable sortable" | ||
+ | !Code | ||
+ | !Result | ||
+ | |- | ||
+ | |<pre>{{CommonEventLocation|Earls Court}}</pre> | ||
+ | |{{CommonEventLocation|Earls Court}} | ||
+ | |- | ||
+ | |<pre>{{CommonEventLocation|ExCeL London}}</pre> | ||
+ | |{{CommonEventLocation|ExCeL London}} | ||
+ | |} | ||
+ | |||
+ | |||
+ | |||
if the name doesn't exist in this list, treat it as plain wikitext | if the name doesn't exist in this list, treat it as plain wikitext |
Revision as of 13:59, 11 October 2023
Many events took place in the same building. This template saves you from having to write it all.
Japan
Code | Result |
---|---|
{{CommonEventLocation|Makuhari Messe}} |
Makuhari Messe, 2-1, Nakase, Mihama-ku, Chiba, Chiba Prefecture, 261-8550, Japan |
{{CommonEventLocation|Tokyo Big Sight}} |
Tokyo Big Sight, 3-11-1, Ariake, Koto-ku, Tokyo, 135-0063, Japan |
US
Code | Result |
---|---|
{{CommonEventLocation|Los Angeles Convention Center}} |
Los Angeles Convention Center, 1201 South Figueroa Street, Los Angeles, California 90015, United States |
UK
Code | Result |
---|---|
{{CommonEventLocation|Earls Court}} |
Earls Court Exhibition Centre, Kensington, Fulham, London, SW5, United Kingdom |
{{CommonEventLocation|ExCeL London}} |
ExCeL London, Custom house, Docklands, London, E16, United Kingdom |
if the name doesn't exist in this list, treat it as plain wikitext
{{CommonEventLocation|Smelly bum world}}
Smelly bum world