Difference between revisions of "Template:CategoryIcons"

From TwistedMUCK
Jump to: navigation, search
(Created page with "<center> {{#dpl: |category = {{PAGENAME}} |mode = userformat |ordermethod = title |columns = 7 |rowcolformat = widt...")
 
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
         |rowcolformat  = width=700px
 
         |rowcolformat  = width=700px
 
         |suppresserrors = yes
 
         |suppresserrors = yes
         |format        = ,[[File:%TITLE%-icon.png|100x100px|link=%TITLE%]],,
+
         |format        = ,[[File:%TITLE%-icon.gif|link=%TITLE%]],,
  
 
}}
 
}}
Line 20: Line 20:
 
</div>
 
</div>
  
 +
To exclude NPCs paste this instead:
 +
<div style="width: 50%;">
 +
<pre><nowiki>
 +
<center>
 +
{{#dpl: |category      = {{PAGENAME}}
 +
        |category      = Characters
 +
        |mode          = userformat
 +
        |ordermethod    = title
 +
        |columns        = 7
 +
        |rowcolformat  = width=700px
 +
        |suppresserrors = yes
 +
        |format        = ,[[File:%TITLE%-icon.gif|link=%TITLE%]],,
 +
 +
}}
 +
</center>
 +
</nowiki></pre>
 +
</div>
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 04:30, 2 April 2016


To use this code paste the following into a Category listing.

{{CategoryIcons}}

To exclude NPCs paste this instead:

<center>
{{#dpl: |category       = {{PAGENAME}}
        |category       = Characters
        |mode           = userformat
        |ordermethod    = title
        |columns        = 7
        |rowcolformat   = width=700px
        |suppresserrors = yes
        |format         = ,[[File:%TITLE%-icon.gif|link=%TITLE%]],,

}}
</center>
Personal tools