Difference between revisions of "Template:Community mod infobox"

From Team Fortress Wiki
Jump to: navigation, search
m
 
(8 intermediate revisions by one other user not shown)
Line 6: Line 6:
 
! colspan="2" | {{Dictionary/common_strings/basic information}}
 
! colspan="2" | {{Dictionary/common_strings/basic information}}
 
|-
 
|-
 +
{{#if: {{{mod-type|}}} |
 +
{{!}} '''Type:''' {{!!}} {{{mod-type|}}}
 +
{{!}}-
 +
}}
 
{{#if: {{{availability|}}} |
 
{{#if: {{{availability|}}} |
 
{{!}} '''Availability:''' {{!!}} {{#switch: {{lc:{{{availability|}}}}}
 
{{!}} '''Availability:''' {{!!}} {{#switch: {{lc:{{{availability|}}}}}
Line 13: Line 17:
 
       | #default = {{{availability|}}}
 
       | #default = {{{availability|}}}
 
     }}
 
     }}
 +
{{!}}-
 +
}}
 +
{{#if: {{{prefix|}}} |
 +
{{!}} '''Prefix:''' {{!!}} <code>{{{prefix|}}}</code>
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
{{!}} '''Creator(s):''' {{!!}} {{{creators}}}
 
{{!}} '''Creator(s):''' {{!!}} {{{creators}}}
 
{{!}}-
 
{{!}}-
 +
{{#if: {{{released|}}} |
 +
{{!}} '''Released:''' {{!!}} {{{released}}}
 +
{{!}}-
 +
}}
 
{{#if: {{{link|}}} |
 
{{#if: {{{link|}}} |
 
{{!}} '''{{lang
 
{{!}} '''{{lang
   | en = Link
+
   | en = Link(s)
   | ko = 링크
+
   | ko = 링크(들)
   | pl = Link
+
   | pl = Link(i)
   | pt-br = Link
+
   | pt-br = Link(s)
   | ru = Ссылка
+
   | ru = Ссылка(и)
 
   | zh-hans = 链接
 
   | zh-hans = 链接
 
   | zh-hant = 鏈接
 
   | zh-hant = 鏈接
 
}}:''' {{!!}} {{{link}}}
 
}}:''' {{!!}} {{{link}}}
{{!}}-
 
}}
 
{{#if: {{{mod-type|}}} |
 
{{!}} '''Mod type:''' {{!!}} {{{mod-type|}}}
 
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
|}<noinclude>
 
|}<noinclude>
{{Template doc}}
+
{{Documentation}}
 
[[Category:Templates|Community mod infobox]]
 
[[Category:Templates|Community mod infobox]]
 
[[Category:Infobox templates|Community mod infobox]]
 
[[Category:Infobox templates|Community mod infobox]]
 
</noinclude>
 
</noinclude>

Latest revision as of 00:28, 9 August 2020

Community mod infobox
Screenshot needed.png
Basic information
Creator(s): {{{creators}}}

Template documentation [view] [edit] [history] [purge]

This template adds an information box to articles on community mods.

Usage

{{Map infobox
| mod-name-override = 
| mod-image= 
| mod-type=
| availability=
| prefix=
| creators= 
| link= 
| released=
}}

Parameters

Parameter Required? Function
mod-name-override No The name of the mod if it is anything other than the page name.
mod-image Yes File name of image of mod, automatically resized to 300px wide. Defaults to File:Screenshot needed.png.
mod-type No A generic category that the mod might fall under: Gamemode, statistical, competitive, etc.
availability No Let readers know if the mod is available to install on third-party servers. Standard values are public, private, and mixed. Mixed refers to mods such as dodgeball where variants exist that are both private and public.
prefix No A short abbreviation or prefix that refers to the mod.
creators Yes List the people involved in the creation of the mod.
link No Link to steam group, website, etc.
released No The date when the mod became playable or released to the public.