Difference between revisions of "Template:Tent"

From SHA2017 Wiki
Jump to: navigation, search
(Created page with "<noinclude> This is the "Tent" template. It should be called in the following format: <pre> {{Tent |width= |length= |handle= }} </pre> Edit the page to see the template text....")
 
 
(16 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Tent
 
{{Tent
 +
|name=
 
|width=
 
|width=
 
|length=
 
|length=
 +
|description=
 
|handle=
 
|handle=
 
}}
 
}}
Line 11: Line 13:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
 
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
+
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">[[Name::{{{name|}}}]]</span>
 
|-
 
|-
! Width
+
 
| [[Tent width::{{{width|}}}]]  
+
{{#if: {{{width|}}} | {{#if: {{{length|}}} |
|-
+
! Size
! Length
+
{{!}} [[Tent width::{{{width|}}}]] x [[Tent length::{{{length|}}}]] meter
| [[Tent length::{{{length|}}}]]  
+
{{!}}-
|-
+
}} }}
! handle
+
 
| [[Handle::{{{handle|}}}]]
+
{{#if: {{{description|}}} |
 +
! Description
 +
{{!}} {{{description|}}}
 +
{{!}}-
 +
}}
 +
 
 
|}
 
|}
 +
{{MapObject|Handle = {{{handle}}}}}
 +
[[Category:Tent]]
 
</includeonly>
 
</includeonly>

Latest revision as of 01:25, 9 June 2017

This is the "Tent" template. It should be called in the following format:

{{Tent
|name=
|width=
|length=
|description=
|handle=
}}

Edit the page to see the template text.