Difference between revisions of "Template:WSPortalCellIcon"

From Wikispooks
Jump to navigation Jump to search
(tidy)
(smaller icon)
Line 1: Line 1:
<noinclude>[[Category:WikiSpooks Templates]]Makes the icons boxes for [[Template:WikiSpooks Footer]].<br/>
+
<noinclude>'''[[Category:WikiSpooks Templates]]Makes the icons boxes for [[Template:WikiSpooks Footer]].'''<br/>
 
Takes the following arguments:
 
Takes the following arguments:
 
<poem>
 
<poem>
Line 6: Line 6:
 
|{{t|icon}}=  the name of the image to display
 
|{{t|icon}}=  the name of the image to display
 
|{{t|large}}= the name of the image that should be displayed fullsize
 
|{{t|large}}= the name of the image that should be displayed fullsize
</poem></noinclude>{{#ifeq: {{{large|}}}|{{{icon|}}}|{{WSPortalCell|icon={{{icon|}}}|link={{{link|}}}|text={{{text|}}}}}|{{WSPortalCellMini|icon={{{icon|}}}|link={{{link|}}}}}}}
+
</poem></noinclude>{{#ifeq: {{{large|}}}|{{{icon|}}}|[[File:{{{icon|}}}|link={{{link|}}}|80px]]<br>'''[[{{{link|}}}|{{{text|}}}]]|{{WSPortalCellMini|icon={{{icon|}}}|link={{{link|}}}}}}}

Revision as of 15:43, 24 December 2013

Makes the icons boxes for Template:WikiSpooks Footer.
Takes the following arguments:

|text= the name of this section
|link= the main page of this section
|icon= the name of the image to display
|large= the name of the image that should be displayed fullsize

[[File:|link=|80px]]
[[|]]