Difference between revisions of "Template:Room Equipment"

From Mushpedia
Jump to: navigation, search
(for the map page)
 
m
 
(10 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
<includeonly><onlyinclude>{{:{{{1}}}}}
 
<includeonly><onlyinclude>{{:{{{1}}}}}
 
{{#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="left" width="320px" {{!}} [[Image:{{#var: {{{1}}} Icon|Bed.jpg{{!}}Missing icon}}{{!}}left{{!}}link={{#var: {{{1}}} Full Name}}]]  
{{!}} 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>|}}  
+
'''[[{{#var: {{{1}}} Full Name}}]]'''{{#if:{{{Number|}}}|&nbsp;(x{{{Number}}})|}}{{#if: {{#var: {{{1}}} Unlock}}|<br><small>Unlocked by {{#var: {{{1}}} Unlock}}</small>|}}  
 
|  
 
|  
{{!}}
+
{{!}} Invalid name [[{{{1}}}]] }}</onlyinclude></includeonly>
{{!}} Invalide name [[{{{1}}}]] }}</onlyinclude></includeonly>
+
 
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"  
 
|-
 
|-
 
{{Room Equipment|Bed|Number=3}}
 
{{Room Equipment|Bed|Number=3}}
 
|}
 
|}

Latest revision as of 08:10, 14 February 2015


Creates a small equipment link for the Map page.

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

Bed.jpg

Bed (x3)