Difference between revisions of "Template:WSPortalCellIcon"

From Wikispooks
Jump to navigation Jump to search
(Easier links around community portal)
 
(tidy)
Line 1: Line 1:
<noinclude>[[Category:WikiSpooks Templates]]Makes the icons boxes for [[Template:WikiSpooks Footer]].
+
<noinclude>[[Category:WikiSpooks Templates]]Makes the icons boxes for [[Template:WikiSpooks Footer]].<br/>
 
Takes the following arguments:
 
Takes the following arguments:
 
<poem>
 
<poem>
|text=  the name of this section  
+
|{{t|text}}=  the name of this section  
|link=  the main page of this section  
+
|{{t|link}}=  the main page of this section  
|icon=  the name of the image to display
+
|{{t|icon}}=  the name of the image to display
|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|}}}|{{WSPortalCell|icon={{{icon|}}}|link={{{link|}}}|text={{{text|}}}}}|{{WSPortalCellMini|icon={{{icon|}}}|link={{{link|}}}}}}}

Revision as of 15:35, 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

|style="text-align:center; width: 120px; vertical-align:bottom;"| [[File:|link=|84px]]
[[|]]