Template:Non-free video game screenshot/doc: Difference between revisions

From Dothack Info
Jump to navigation Jump to search
(Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> == Usage == This template accepts the platform(s) as parameters to better categorize the tagged image. <pre style="font-size: normal">{{Non-free video game screenshot|Windows|Macintosh|Linux}}</pre> or <pre style="font-size: normal">{{Non-free video game screenshot|Windows}}</pre> or just <pre style="font-size: normal">{{Non-free video game screenshot}}</pre> if the platfor...")
 
mediawiki >WOSlinker
m (syntaxhighlight lang="wikitext")
Line 3: Line 3:
== Usage ==
== Usage ==
This template accepts the platform(s) as parameters to better categorize the tagged image.
This template accepts the platform(s) as parameters to better categorize the tagged image.
<pre style="font-size: normal">{{Non-free video game screenshot|Windows|Macintosh|Linux}}</pre>
<syntaxhighlight lang="wikitext" style="font-size: normal">{{Non-free video game screenshot|Windows|Macintosh|Linux}}</syntaxhighlight>
or
or
<pre style="font-size: normal">{{Non-free video game screenshot|Windows}}</pre>
<syntaxhighlight lang="wikitext" style="font-size: normal">{{Non-free video game screenshot|Windows}}</syntaxhighlight>
or just
or just
<pre style="font-size: normal">{{Non-free video game screenshot}}</pre>
<syntaxhighlight lang="wikitext" style="font-size: normal">{{Non-free video game screenshot}}</syntaxhighlight>
if the platform is unknown. (For the platform names you can use, see the subcategories of [[:Category:Screenshots of video games]].)
if the platform is unknown. (For the platform names you can use, see the subcategories of [[:Category:Screenshots of video games]].)


If <code>arcade</code> is used as a parameter, it must be in the first position, e.g.  
If <code>arcade</code> is used as a parameter, it must be in the first position, e.g.  
<pre style="font-size: normal">{{Non-free video game screenshot|arcade|Dreamcast}}</pre>
<syntaxhighlight lang="wikitext" style="font-size: normal">{{Non-free video game screenshot|arcade|Dreamcast}}</syntaxhighlight>


== Maintenance ==
== Maintenance ==
If categories are merged or renamed, add a switch line into the sub-page [[Template:Non-free video game screenshot/platform]], e.g.  
If categories are merged or renamed, add a switch line into the sub-page [[Template:Non-free video game screenshot/platform]], e.g.  
<pre style="font-size: normal"> | Microsoft Windows = Windows</pre>
<syntaxhighlight lang="wikitext" style="font-size: normal"> | Microsoft Windows = Windows</syntaxhighlight>


<!-- This template can also resolve a category redirect, but currently only does so for the first parameter. It is safer to set up the switch function given above.  
<!-- This template can also resolve a category redirect, but currently only does so for the first parameter. It is safer to set up the switch function given above.  

Revision as of 07:28, 30 May 2023

Lua error: Internal error: The interpreter exited with status 1.

Usage

This template accepts the platform(s) as parameters to better categorize the tagged image. <syntaxhighlight lang="wikitext" style="font-size: normal">Template:Imbox</syntaxhighlight> or <syntaxhighlight lang="wikitext" style="font-size: normal">Template:Imbox</syntaxhighlight> or just <syntaxhighlight lang="wikitext" style="font-size: normal">Template:Imbox</syntaxhighlight> if the platform is unknown. (For the platform names you can use, see the subcategories of Category:Screenshots of video games.)

If arcade is used as a parameter, it must be in the first position, e.g. <syntaxhighlight lang="wikitext" style="font-size: normal">Template:Imbox</syntaxhighlight>

Maintenance

If categories are merged or renamed, add a switch line into the sub-page Template:Non-free video game screenshot/platform, e.g. <syntaxhighlight lang="wikitext" style="font-size: normal"> | Microsoft Windows = Windows</syntaxhighlight>

See also