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">...")
(Updated to the newer wiki style.)
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:{{{image1<includeonly>|</includeonly>}}} |
  </data>
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}{{{image1}}}
  <data source="completion_date">
{{!}}-
    <label>Completion Date</label>
}}
  </data>
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''General Information'''
  <data source="builders">
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
    <label>Builders</label>
| style="{{#if:{{{type|}}}| |display: none;}}" valign="top" | '''Type'''
  </data>
| style="{{#if:{{{type|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{type|}}}
  <data source="patroller">
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
    <label>Patroller</label>
| style="{{#if:{{{type|}}}| |display: none;}}" valign="top" | '''Completion Date'''
  </data>
| style="{{#if:{{{type|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{completion_date|}}}
  <data source="total_distance">
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
    <label>Total distance</label>
| style="{{#if:{{{type|}}}| |display: none;}}" valign="top" | '''Builder(s)'''
  </data>
| style="{{#if:{{{type|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{builders|}}}
  <data source="stations">
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
    <label>Stations</label>
| style="{{#if:{{{type|}}}| |display: none;}}" valign="top" | '''Patroller(s)'''
  </data>
| style="{{#if:{{{type|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{patroller|}}}
  <group>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
    <header>Geography</header>
| style="{{#if:{{{type|}}}| |display: none;}}" valign="top" | '''Total Distance'''
    <data source="nations">
| style="{{#if:{{{type|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{total_distance|}}}
      <label>Nations</label>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
    </data>
| style="{{#if:{{{type|}}}| |display: none;}}" valign="top" | '''Stations'''
    <data source="continent">
| style="{{#if:{{{type|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{stations|}}}
      <label>Continent</label>
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Geographical Information'''
    </data>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
    <data source="level">
| style="{{#if:{{{full_name|}}}| |display: none;}}" valign="top" | '''Nation(s)'''
      <label>Level</label>
| style="{{#if:{{{full_name|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{nations|}}}
    </data>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
  </group>
| style="{{#if:{{{full_name|}}}| |display: none;}}" valign="top" | '''Continent'''
  <group>
| style="{{#if:{{{full_name|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{continent|}}}
    <header>Route</header>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
    <data source="row12"/>
| style="{{#if:{{{full_name|}}}| |display: none;}}" valign="top" | '''Level'''
  </group>
| style="{{#if:{{{full_name|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{level|}}}
</infobox>
! 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:{{{full_name|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{row12|}}}
|}</div>
|}
<noinclude>
<noinclude>
Example usage:
Example usage:

Revision as of 16:10, 28 October 2023

Iceway
{{{image1}}}
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>