Difference between revisions of "Template:Room Equipment"

From Mushpedia
Jump to: navigation, search
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="70px" {{!}} [[Image:{{#var: {{{1}}} Icon|Bed.jpg{{!}}Missing icon}}]]
+
{{!}} align="left" width="320px" {{!}} [[Image:{{#var: {{{1}}} Icon|Bed.jpg{{!}}Missing icon}}{{!}}left]]
{{!}} 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>|}}  
+
'''[[{{#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.  
  

Revision as of 10:39, 20 September 2014


Creates a small equipment link for the Map page.

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

Bed.jpg

Bed (x3)