Template:Render: Difference between revisions
Jump to navigation
Jump to search
DokkeFyxen (talk | contribs) (Created page with "<div style="padding: 0.5em; border: 1px solid #8aa; background: #d7f7f7;">This image is a custom made render for the wiki!</div> <includeonly>{{ #if: {{{1|}}} | Category:{{{...") |
DokkeFyxen (talk | contribs) mNo edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style="padding: 0.5em; border: 1px solid #8aa | <div class="table-default" style="padding: 0.5em; border: 1px solid #8aa;">This image is {{ #switch:{{{2}}} | ||
<includeonly>{{ #if: {{{1|}}} | [[Category:{{{1}}} Renders]] | [[Category:Renders]] }}</includeonly><noinclude> | |Official=an official render made for {{{1}}}! | ||
|#default=a custom render for {{{1|the wiki}}}!}}</div> | |||
<includeonly>[[Category:Renders]] | |||
{{ #switch:{{{2}}} | |||
|UI=[[Category:{{{1}}} Renders]][[Category:{{{1}}} UI Element Renders]][[Category:UI Element Renders]] | |||
|#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> | ||
{{ | {{render|game|type}} | ||
</pre> | </pre> | ||
Line 11: | Line 18: | ||
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). | ||
[[Category: | ''<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:File tagging templates]] | |||
</noinclude> | </noinclude> |
Latest revision as of 16:15, 19 June 2024
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.