Difference between revisions of "Template:Room Equipment"

From Mushpedia
Jump to: navigation, search
(for the map page)
 
m
Line 3: Line 3:
 
{{#if: {{#var: {{{1}}} Name}}|
 
{{#if: {{#var: {{{1}}} Name}}|
 
{{!}} align="center" width="70px" {{!}} [[Image:{{#var: {{{1}}} Icon|Bed.jpg{{!}}Missing icon}}]] {{#if: {{#var: {{{1|{{PAGENAME}}}}} Other Icon|}}|[[image:{{#var: {{{1|{{PAGENAME}}}}} Other Icon|}}|{{#var: {{{1|{{PAGENAME}}}}} Name|Unknown equipment}}]]|}}
 
{{!}} align="center" width="70px" {{!}} [[Image:{{#var: {{{1}}} Icon|Bed.jpg{{!}}Missing icon}}]] {{#if: {{#var: {{{1|{{PAGENAME}}}}} Other Icon|}}|[[image:{{#var: {{{1|{{PAGENAME}}}}} Other Icon|}}|{{#var: {{{1|{{PAGENAME}}}}} Name|Unknown equipment}}]]|}}
{{!}} align="left" style="white-space:nowrap;"  {{!}} '''[[{{#var: {{{1}}} Full Name}}]]'''{{#if:{{{Number|}}}| (x{{{Number}}})|}}{{#if: {{#var: {{{1}}} Unlock}}|<br><small>Unlocked by {{#var: {{{1}}} Unlock}}</small>|}}  
+
{{!}} align="left" style="white-space:nowrap;"  {{!}} '''[[{{#var: {{{1}}} Full Name}}]]'''{{#if:{{{Number|}}}|&nbsp;(x{{{Number}}})|}}{{#if: {{#var: {{{1}}} Unlock}}|<br><small>Unlocked by {{#var: {{{1}}} Unlock}}</small>|}}  
 
|  
 
|  
 
{{!}}
 
{{!}}
Line 9: Line 9:
 
Creates a small equipment link for the [[Map]] page.  
 
Creates a small equipment link for the [[Map]] page.  
  
Option number=N to display "xN"
+
Parameter: '''Number=N''' to display "(xN)"
  
 
{| class="wikitable padded-table" width="100%"
 
{| class="wikitable padded-table" width="100%"

Revision as of 12:09, 27 July 2014


Creates a small equipment link for the Map page.

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

Bed.jpg

Bed (x3)