Template:Infobox location: Difference between revisions

Template page
(Created page with "<div class="infobox"> <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| <div class="infobox-image">[[File:{{{image}}}|250px]]</div>}} <table> {{#if:{{{address|}}}|<tr> <th style="text-align:left;">Address</th> <td>{{{address}}}</td> </tr>}} {{#if:{{{opened|}}}|<tr> <th style="text-align:left;">Opened</th> <td>{{{opened}}}</td> </tr>}} {{#if:{{{type|}}}|<tr> <th style="text-align:left;">Type</th> <td>{{{type}}}</td> </tr...")
 
mNo edit summary
 
(45 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<templatestyles src="Infobox.css" />
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<noinclude>{{#cargo_declare:
<div class="infobox-image">[[File:{{{image}}}|250px]]</div>}}
_table = Locations
<table>
|franchise=Page
{{#if:{{{address|}}}|<tr>
|type=List (,) of String
    <th  style="text-align:left;">Address</th>
|closed=Boolean
    <td>{{{address}}}</td>
|closedDate = Date
</tr>}}
|country=String
{{#if:{{{opened|}}}|<tr>
|city=String
    <th style="text-align:left;">Opened</th>
}}</noinclude><includeonly>
    <td>{{{opened}}}</td>
{{#invoke:Infobox location|main}}{{#cargo_store:
</tr>}}
_table = Locations
{{#if:{{{type|}}}|<tr>
|type={{{type|}}}
    <th style="text-align:left;">Type</th>
|closed={{#if: {{{closed|}}} | Yes | No }}
    <td>{{{type}}}</td>
|closedDate={{{closed|}}}
</tr>}}
|franchise={{#if: {{{franchise|}}} | Companies/{{{franchise}}} | {{#if: {{{company|}}} | Companies/{{{company}}} }} }}
{{#if:{{{franchise|}}}|<tr>
}}</includeonly><noinclude>{{Documentation}}[[Category:Templates]]</noinclude>
    <th  style="text-align:left;">Franchise</th>
    <td>{{{franchise}}}</td>
</tr>}}
{{#if:{{{socials|}}}|<tr>
    <th style="text-align:left;>Socials</th>
    <td>{{{socials}}}</td>
</tr>}}
{{#if:{{{contact|}}}|<tr>
    <th style="text-align:left;>Contact</th>
    <td>{{{contact}}}</td>
</tr>}}
</table>
</div>

Latest revision as of 18:09, 11 February 2024

This template defines the table "Locations". View table.

Documentation (view - edit)

To add a tournament go to https://twogpedia.com/Form:Location and to edit a tournament just use the "Edit with form" button.

For a list of country codes / names check https://twogpedia.com/Module:Localisation/Data

For additional links check https://twogpedia.com/Module:Links