Template:Render: Difference between revisions

From Imagisphere
Jump to navigation Jump to search
mNo edit summary
(Added sorting by render type)
Line 1: Line 1:
<div style="padding: 0.5em; border: 1px solid #8aa; background: #d7f7f7;">This image is a custom made render for the wiki!</div>
<div style="padding: 0.5em; border: 1px solid #8aa; background: #d7f7f7;">This image is {{ #switch:{{{2}}}
<includeonly>[[Category:Renders]] {{ #if: {{{1|}}} | [[Category:{{{1}}} Renders]] | }}</includeonly><noinclude>
|Official=an official render made for {{{1}}}!
|#default=a custom render for {{{1|the wiki}}}!}}</div>
<includeonly>[[Category:Renders]]
{{ #switch:{{{2}}}
|#default={{ #if: {{{1|}}} | [[Category:{{{1}}} Renders]] | }} {{ #if: {{{2|}}} | [[Category:{{{1}}} {{{2}}} Renders]][[Category:{{{2}}} Renders]] | [[Category:Uncategorized Renders]] }}
}}</includeonly>
<noinclude>
Use this when uploading an image to categorise it as a wiki render.
Use this when uploading an image to categorise it as a wiki render.
==Usage==
==Usage==
<pre>
<pre>
{{popiticon|game}}
{{render|game|type}}
</pre>
</pre>


Line 10: Line 16:


This template also categorizes images tagged with this into the [[:Category:Renders|Renders]] category (by game, if specified).
This template also categorizes images tagged with this into the [[:Category:Renders|Renders]] category (by game, if specified).
''<tt>type</tt>'' is the sub-category of render, and categorizes images tagged with this into the [[:Category:Renders|Renders]] category by type.
If type is set to '''Official''', the image is marked as an official render instead of a custom one.


[[Category:Image templates]]
[[Category:Image templates]]
</noinclude>
</noinclude>

Revision as of 20:57, 8 August 2023

This image is a custom render for the wiki!


Use this when uploading an image to categorise it as a wiki render.

Usage

{{render|game|type}}

Where game is the name of the game the icon is used for.

This template also categorizes images tagged with this into the Renders category (by game, if specified).

type is the sub-category of render, and categorizes images tagged with this into the Renders category by type.

If type is set to Official, the image is marked as an official render instead of a custom one.