Difference between revisions of "Template:Test"

From Wurmpedia
Jump to navigation Jump to search
(Center test)
m (test)
 
(37 intermediate revisions by 5 users not shown)
Line 1: Line 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>
 
<includeonly>
 +
 
{| style="float:right; margin:1em; width:250px;" cellpadding="3" cellspacing="0" border="1"
 
{| 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}}}}}
 
|-
 
|-
| [[Image:{{{name|{{PAGENAME}}}}}_item.jpg|center]]
+
|
|-
+
{{#ifexist: Image:{{{image|{{{name|{{PAGENAME}}}}}.jpg}}}
! style="background-color:#3c5;" | Creation
+
    | [[Image: {{{image|{{{name|{{PAGENAME}}}}}.jpg}}}|center|120x120px|A {{{name|{{PAGENAME}}}}}]]
 +
    | {{#ifexist: Image:{{{image|{{{name|{{PAGENAME}}}}}.png}}}
 +
        | [[Image: {{{image|{{{name|{{PAGENAME}}}}}.png}}}|center|120x120px|A {{{name|{{PAGENAME}}}}}]]
 +
        | [[Image: {{{image|{{{name|{{PAGENAME}}}}}.jpg}}}|center|120x120px|A {{{name|{{PAGENAME}}}}}]]
 +
    }}
 +
}}
 
|-
 
|-
|
+
! style="background-color:#CCA133;" | Creation
# Activate a {{{active}}}
 
# Right-click a {{{passive}}}
 
{{#if:{{{group|}}}|# Open submenu Create > {{{group}}}|}}
 
 
|-
 
|-
! style="background-color:#3c5;" | Additional materials
+
| <ol><li>[[Activate]] {{{active}}}</li><li>Right-click {{{passive}}}</li><li>Open [[Context menu|menu]] > [[Bridges]] </li></ol>
 
|-
 
|-
|
+
! style="background-color:#CCA133;" | Additional materials
 +
{{!}}-
 +
{{!}}
 
{{{materials}}}
 
{{{materials}}}
 
|-
 
|-
! style="background-color:#3c5;" | Result
+
! style="background-color:#CCA133;" | Result
 +
|-
 +
| {{{result}}}
 
|-
 
|-
|
+
! style="background-color:#CCA133;" | Skill and improvement
{{{result}}}
+
{{!}}-
 +
{{!}}
 +
* Uses [[{{{skill}}}]]
 +
* [[Improve]]s like [[{{{improve}}}]] items
 
|-
 
|-
! style="background-color:#3c5;" | Skill and improvement
+
! style="background-color:#CCA133;" | Notes
 
|-
 
|-
| Uses {{{skill}}}{{#if:{{{improve|}}}|, but improves as {{{improve}}}}}
+
| {{{notes}}}
 
|}
 
|}
</includeonly><noinclude>
 
 
{{Test
 
|name=Name param (defaults to pagename)
 
|active=Active param
 
|passive=Passive param
 
|group=Group param
 
|result=
 
* Result A
 
* Result B
 
|skill=Skill param
 
|improve=Improve param (defaults to skill)
 
|materials=
 
* Item A
 
* Item B
 
* Item C
 
}}
 
  
{{Test
+
</includeonly>
}}
 
 
 
</noinclude>
 

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.