Difference between revisions of "Template:Test"

From Wurmpedia
Jump to navigation Jump to search
(nicer colors)
m (test)
 
(27 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| style="float:right; margin:1em; width:200px;" cellpadding="3" cellspacing="1" border="1"
+
<noinclude>
 +
This is the template sandbox, write your template in [[Template:Test]] and test it and see how it looks in [[Template Sandbox]]. This is a useless and very basic test template and the name of this page is {{PAGENAME}}.
 +
[[Category:Template]]
 +
</noinclude>
 +
 
 +
<!-- DO NOT DELETE ABOVE THIS LINE -->
 +
<!-- DO NOT DELETE ABOVE THIS LINE -->
 +
<!-- DO NOT DELETE ABOVE THIS LINE -->
 +
 
 +
<includeonly>
 +
 
 +
{| style="float:right; margin:1em; width:250px;" cellpadding="3" cellspacing="0" border="1"
 
|+ style="font-weight: bold" | {{{name|{{PAGENAME}}}}}
 
|+ style="font-weight: bold" | {{{name|{{PAGENAME}}}}}
 
|-
 
|-
 
|
 
|
{{#switch:{{{type}}}
+
{{#ifexist: Image:{{{image|{{{name|{{PAGENAME}}}}}.jpg}}}
|no
+
    | [[Image: {{{image|{{{name|{{PAGENAME}}}}}.jpg}}}|center|120x120px|A {{{name|{{PAGENAME}}}}}]]
|none
+
    | {{#ifexist: Image:{{{image|{{{name|{{PAGENAME}}}}}.png}}}
='''Undeeded settlement'''
+
        | [[Image: {{{image|{{{name|{{PAGENAME}}}}}.png}}}|center|120x120px|A {{{name|{{PAGENAME}}}}}]]
|v
+
        | [[Image: {{{image|{{{name|{{PAGENAME}}}}}.jpg}}}|center|120x120px|A {{{name|{{PAGENAME}}}}}]]
|village
+
    }}
={{#if:{{{size|}}}|'''Size {{{size}}}|}} village'''
 
|hs
 
|homestead
 
={{#if:{{{size|}}}|'''Size {{{size}}}|}} homestead'''
 
|Deed info missing
 
 
}}
 
}}
 
|-
 
|-
! style="background-color:#abf;" | Mayor
+
! style="background-color:#CCA133;" | Creation
 
|-
 
|-
| {{{mayor|Unknown}}}
+
| <ol><li>[[Activate]] {{{active}}}</li><li>Right-click {{{passive}}}</li><li>Open [[Context menu|menu]] > [[Bridges]] </li></ol>
 
|-
 
|-
! style="background-color:#bcf;" | Population
+
! style="background-color:#CCA133;" | Additional materials
 +
{{!}}-
 +
{{!}}
 +
{{{materials}}}
 
|-
 
|-
|
+
! style="background-color:#CCA133;" | Result
{{{population|Unknown}}}
+
|-
|-
+
| {{{result}}}
! style="background-color:#cdf;" | Allies
 
 
|-
 
|-
|
+
! style="background-color:#CCA133;" | Skill and improvement
{{{allies|Unknown}}}
+
{{!}}-
 +
{{!}}
 +
* Uses [[{{{skill}}}]]
 +
* [[Improve]]s like [[{{{improve}}}]] items
 
|-
 
|-
! style="background-color:#def;" | Enemies
+
! style="background-color:#CCA133;" | Notes
 
|-
 
|-
|
+
| {{{notes}}}
{{{enemies|Unknown}}}
 
 
|}
 
|}
 +
 +
</includeonly>

Latest revision as of 22:11, 14 October 2014

This is the template sandbox, write your template in Template:Test and test it and see how it looks in Template Sandbox. This is a useless and very basic test template and the name of this page is Test.