Difference between revisions of "Template:Room Equipment"

From Mushpedia
Jump to: navigation, search
m
m (I hate editing templates, you can't preview your edits...)
Line 2: Line 2:
 
<includeonly><onlyinclude>{{:{{{1}}}}}
 
<includeonly><onlyinclude>{{:{{{1}}}}}
 
{{#if: {{#var: {{{1}}} Name}}|
 
{{#if: {{#var: {{{1}}} Name}}|
{{!}} align="center" width="1px" {{!}} [[Image:{{#var: {{{1}}} Icon|Bed.jpg{{!}}Missing icon}}]]  
+
{{!}} align="center" width="70px" {{!}} [[Image:{{#var: {{{1}}} Icon|Bed.jpg{{!}}Missing icon}}]]  
{{!}} align="left" style="white-space:nowrap;" width="25%" {{!}} '''[[{{#var: {{{1}}} Full Name}}]]'''{{#if:{{{Number|}}}|&nbsp;(x{{{Number}}})|}}{{#if: {{#var: {{{1}}} Unlock}}|<br><small>Unlocked by {{#var: {{{1}}} Unlock}}</small>|}}  
+
{{!}} align="left" style="white-space:nowrap;" width="250px" {{!}} '''[[{{#var: {{{1}}} Full Name}}]]'''{{#if:{{{Number|}}}|&nbsp;(x{{{Number}}})|}}{{#if: {{#var: {{{1}}} Unlock}}|<br><small>Unlocked by {{#var: {{{1}}} Unlock}}</small>|}}  
 
|  
 
|  
 
{{!}}
 
{{!}}
Line 11: Line 11:
 
Parameter: '''Number=N''' to display "(xN)"
 
Parameter: '''Number=N''' to display "(xN)"
  
{| class="wikitable padded-table" width="250px"
+
{| class="wikitable padded-table"  
 
|-
 
|-
 
{{Room Equipment|Bed|Number=3}}
 
{{Room Equipment|Bed|Number=3}}
 
|}
 
|}

Revision as of 17:44, 27 July 2014


Creates a small equipment link for the Map page.

Parameter: Number=N to display "(xN)"

Bed.jpg

Bed (x3)