This wiki is still a major work in progress, and a lot is being worked on. Please be patient.Newmaker

Difference between revisions of "Template:Thing"

From Petscop
Jump to: navigation, search
(Created page with "<includeonly>{{#if: {{{icon|}}} | {{{image|}}} | {{{name}}} }}</includeonly><noinclude> Usage: <tt><nowiki>{{thing | icon=y | image=File:Thing.png | name="Thing" }}</nowi...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{icon|}}} | {{{image|}}} | {{{name}}} }}</includeonly><noinclude>
+
<includeonly>{{#if: {{{icon|}}} | [[File:{{{image}}}|150px|link={{{name}}}]] | [[{{{name}}}]] }}</includeonly><noinclude>
  
 
Usage: <tt><nowiki>{{thing | icon=y | image=[[File:Thing.png]] | name="Thing" }}</nowiki></tt>
 
Usage: <tt><nowiki>{{thing | icon=y | image=[[File:Thing.png]] | name="Thing" }}</nowiki></tt>

Latest revision as of 20:30, 24 May 2017


Usage: {{thing | icon=y | image=[[File:Thing.png]] | name="Thing" }}

This should generally never be accessed directly, though.

  • "icon" will show the icon instead of the text.
  • "image" is the image.
  • "name" is the name, shown if the icon isn't.