Template:Iceway: Difference between revisions

From EarthMC
Jump to navigation Jump to search
>Wediaklup
(Created page with "<infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption1"/> </image> <data source="type">...")
 
mNo edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<infobox>
{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em; width:280px; background: border-collapse:collapse; border:3.5px solid {{{color|}}}; font-size:smaller; line-height:1.5"
  <title source="title1">
|-
    <default>{{PAGENAME}}</default>
|<div>
  </title>
{| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle"
  <image source="image1">
|-
    <caption source="caption1"/>
! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size:200%;" | {{{image1name|<font color="white">{{{title1|{{PAGENAME}}}}}</font>}}}
  </image>
|- style="text-align:center;"
  <data source="type">
|-
    <label>Type</label>
{{#if:{{{logo|}}}|{{#if:{{{logo<includeonly>|</includeonly>}}} |
  </data>
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}{{{logo}}}
  <data source="completion_date">
{{!}}-
    <label>Completion Date</label>
}}
  </data>
|}}
  <data source="builders">
|-
    <label>Builders</label>
{{#if:{{{image1|}}}|{{#if:{{{image1<includeonly>|</includeonly>}}} |
  </data>
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}{{{image1}}}{{#if:{{{caption1|}}}|<br />{{{caption1|}}}|}}
  <data source="patroller">
{{!}}-
    <label>Patroller</label>
}}
  </data>
|}}
  <data source="total_distance">
|-
    <label>Total distance</label>
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''General Information'''
  </data>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
  <data source="stations">
| style="{{#if:{{{type|}}}| |display: none;}}" valign="top" | '''Type'''
    <label>Stations</label>
| style="{{#if:{{{type|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{type|}}}
  </data>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
  <group>
| style="{{#if:{{{completion_date|}}}| |display: none;}}" valign="top" | '''Completion Date'''
    <header>Geography</header>
| style="{{#if:{{{completion_date|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{completion_date|}}}
    <data source="nations">
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
      <label>Nations</label>
| style="{{#if:{{{builders|}}}| |display: none;}}" valign="top" | '''Builder(s)'''
    </data>
| style="{{#if:{{{builders|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{builders|}}}
    <data source="continent">
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
      <label>Continent</label>
| style="{{#if:{{{patroller|}}}| |display: none;}}" valign="top" | '''Patroller(s)'''
    </data>
| style="{{#if:{{{patroller|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{patroller|}}}
    <data source="level">
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
      <label>Level</label>
| style="{{#if:{{{total_distance|}}}| |display: none;}}" valign="top" | '''Total Distance'''
    </data>
| style="{{#if:{{{total_distance|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{total_distance|}}}
  </group>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
  <group>
| style="{{#if:{{{stations|}}}| |display: none;}}" valign="top" | '''Stations'''
    <header>Route</header>
| style="{{#if:{{{stations|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{stations|}}}
    <data source="row12"/>
|- style="{{#if:{{{nations|}}}{{{continent|}}}{{{level|}}}| |display: none;}}"
  </group>
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Geographical Information'''
</infobox>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{nations|}}}| |display: none;}}" valign="top" | '''Nation(s)'''
| style="{{#if:{{{nations|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{nations|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{continent|}}}| |display: none;}}" valign="top" | '''Continent'''
| style="{{#if:{{{continent|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{continent|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{level|}}}| |display: none;}}" valign="top" | '''Level'''
| style="{{#if:{{{level|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{level|}}}
|- style="{{#if:{{{row12|}}}| |display: none;}}"
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Route Information'''
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| colspan="2" style="{{#if:{{{row12|}}}| |display: none;}}margin: 0;" class="infoboxcell" valign="top" | {{{row12|}}}
|}</div>
|}
<noinclude>
<noinclude>
Example usage:
Example usage:

Latest revision as of 13:02, 28 June 2024

Iceway
General Information
Type
Completion Date
Builder(s)
Patroller(s)
Total Distance
Stations
Geographical Information
Nation(s)
Continent
Level
Route Information

Example usage:

{{Iceway

  | title1=Example

  | image1=Example

  | caption1=Example

  | type=Example

  | completion_date=Example

  | builders=Example

  | patroller=Example

  | total_distance=Example

  | stations=Example

  | nations=Example

  | continent=Example

  | level=Example

  | row12=Example

}}

<templatedata> {"params":{"title1":{"suggested":true},"image1":{"suggested":true},"caption1":{"suggested":true},"type":{"suggested":true},"completion_date":{"suggested":true},"builders":{"suggested":true},"patroller":{"suggested":true},"total_distance":{"suggested":true},"stations":{"suggested":true},"nations":{"suggested":true},"continent":{"suggested":true},"level":{"suggested":true},"row12":{"suggested":true}},"sets":[],"maps":{}} </templatedata>