Difference between revisions of "Template:Island"

From Twinsuniverse
Jump to: navigation, search
m
(added infobox)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{| style="width:143; font-size: 90%; text-align: left; border: 1px solid #CCCCCC; margin-left: 5px;" cellpadding="3" cellspacing="1" align="right"
+
<includeonly>{|
! colspan="2" style="font-size:110%; text-align: center; background-color: #CCCCFF; border: 1px solid #CCCCCC;"  | ''{{{Name}}}''
+
! colspan="2" | ''{{{name}}}''
 
|-
 
|-
! colspan="2" style="background-color: white; font-size:110%; text-align: center; border: 1px solid #CCCCCC; margin-left: 5px;" | [[Image:{{{Image|DIVERS.gif}}}|{{{px}}}px|{{pagename}}]]
+
! colspan="2" | {{#if: {{{image|}}} | [[File:{{{image}}}|{{PAGENAME}}]] | [[File:DIVERS.gif|{{PAGENAME}}]] }}
 
|-
 
|-
! style="background-color: #ccccff; white-space: nowrap; border: 1px solid #CCCCCC; margin-left: 5px;" | Inhabitants
+
! Inhabitants
| ! style="background-color: white; border: 1px solid #CCCCCC;" |{{{Inhabitants}}}
+
| {{{inhabitants}}}
 
|-
 
|-
! style="background-color: #ccccff; white-space: nowrap; border: 1px solid #CCCCCC; margin-left: 5px;" | Size
+
! Size
| ! style="background-color: white; border: 1px solid #CCCCCC;" |{{{Size}}}
+
| {{{size}}}
 
|-
 
|-
! style="background-color: #ccccff; white-space: nowrap; border: 1px solid #CCCCCC; margin-left: 5px;" | Type
+
! Type
| ! style="background-color: white; border: 1px solid #CCCCCC;" |{{{Type}}}
+
| {{{type}}}
 
|-
 
|-
! style="background-color: #ccccff; white-space: nowrap; border: 1px solid #CCCCCC; margin-left: 5px;" | Transportation
+
! Transportation
| ! style="background-color: white; border: 1px solid #CCCCCC;" |{{{Transportation}}}
+
| {{{transportation}}}
|}</includeonly><noinclude>
+
|}</includeonly><noinclude>{{Infobox Template
 +
|purpose=infobox
 +
|singletag=no
 +
|multiline=yes
 +
|gamerelated=yes
 +
|suppressible=
 +
|choice=
 +
|cat1=
 +
|var1=
 +
}}
 +
 
 
This is an infobox template, used for articles about islands.
 
This is an infobox template, used for articles about islands.
 +
 +
{{stub}}
  
 
==Parameters==
 
==Parameters==
* '''Name''': The name of the island.
+
* '''name''': The name of the island
* '''Image''': An image name of the island. Only the file name, without "[[Image:" etc. If non is available, remove the parameter, and a question mark will be displayed.
+
* '''image''': The image filename of the island (defaults to an empty image)
* '''px''': The size of the image, in pixels. 200 is preferable, unless no image is available. In that case, preferably use 97.
+
* '''imagewidth''': The size of the image in pixels. 200 is preferable, unless no image is available
* '''Inhabitants''': The population of the island- number/A few/A lot.
+
* '''inhabitants''': The population of the island- number/A few/A lot
* '''Size''': The size of the island- Small/Medium/Large.
+
* '''size''': The size of the island- Small/Medium/Large
* '''Type''': The surface type of the island- Green/Desert/Ice/Rock/Lava/Other.
+
* '''type''': The surface type of the island- Green/Desert/Ice/Rock/Lava/Other
* '''Transportation''': Ways possible to reach the island. For example, ferry, [[Dino-Fly]], etc. Preferably separate each way with a <nowiki><br></nowiki> line break.
+
* '''transportation''': Ways possible to reach the island. For example, ferry, [[Dino-Fly]], etc. Preferably separate each way with a <nowiki><br></nowiki> line break
  
 
==Syntax==
 
==Syntax==
<pre><nowiki>{{Island|
+
<pre><nowiki>{{island
Name=|
+
|name=
Image=|
+
|image=
px=200|
+
|imagewidth=200
Inhabitants=|
+
|inhabitants=
Size=|
+
|size=
Type=|
+
|type=
Transportation=}}</nowiki></pre>
+
|transportation=
 +
}}</nowiki></pre>
  
[[Category:Twinsunica - Templates|{{PAGENAME}}]]</noinclude>
+
</noinclude>

Latest revision as of 23:32, 4 June 2014

Island
Purpose

Infobox [list all]

Single tag

No [list all]

Multi-line

Yes [list all]

Protected

No [list all]

Game related

Yes [list all]

Categorization
Categories

none [list all]

Variables
Names

none [list all]

Subpages

This is an infobox template, used for articles about islands.


  This article is a stub [list all]. You can help the Twinsuniverse by expanding it.

Parameters

  • name: The name of the island
  • image: The image filename of the island (defaults to an empty image)
  • imagewidth: The size of the image in pixels. 200 is preferable, unless no image is available
  • inhabitants: The population of the island- number/A few/A lot
  • size: The size of the island- Small/Medium/Large
  • type: The surface type of the island- Green/Desert/Ice/Rock/Lava/Other
  • transportation: Ways possible to reach the island. For example, ferry, Dino-Fly, etc. Preferably separate each way with a <br> line break

Syntax

{{island
 |name=
 |image=
 |imagewidth=200
 |inhabitants=
 |size=
 |type=
 |transportation=
}}