Difference between revisions of "Template:Custom content notice"

From Team Fortress Wiki
Jump to: navigation, search
m (fixed oversight in doc)
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Ambox
 
{{Ambox
 
| image      = Icon TF2 scripts.png
 
| image      = Icon TF2 scripts.png
| imagewidth = 35px
+
| imagewidth = 36px
 
| type      = content
 
| type      = content
 
| contents  = {{ambox/message
 
| contents  = {{ambox/message
 
   | 1 = I built that.
 
   | 1 = I built that.
   | 2 = {{#switch:{{lc:{{{1|}}}}}
+
   | 2 = This {{#switch:{{lc:{{{1|}}}}}
       | mod
+
       | mod = [[Mod|custom mod]]
      | modification = This [[Mod|custom mod]] meets [[TFW:Policies|notability requirements]] for inclusion in the Team Fortress Wiki.
+
       | map = [[custom maps|custom map]]
       | map = This [[custom maps|custom map]] meets [[TFW:Policies#Custom map notability|notability requirements]] for inclusion in the Team Fortress Wiki.
+
       | mission = [[custom]] [[Mann vs. Machine mission]]
       | mission = This [[custom]] [[Mann vs. Machine mission]] meets [[TFW:Policies#Custom map notability|notability requirements]] for inclusion in the Team Fortress Wiki.
+
       | event
       | event  
 
 
       | contest
 
       | contest
       | charity drive = This community event meets [[TFW:Policies#Community event notability|notability requirements]] for inclusion in the Team Fortress Wiki.
+
      | mapping contest
      | #default = This page is about custom content that meets [[TFW:Policy|notability requirements]] for inclusion in the Team Fortress Wiki.
+
       | charity drive
    }}
+
      | competition
   | 3 = {{#if: {{{2|}}} | '''Reason''': <i>{{{2}}}</i> | Relevant discussion and further information may be found on the [[{{TALKPAGENAME}}|talk page]]. }}
+
      | april fools = Community event
 +
      | collection = Community collection
 +
      | #default = article is about custom content that
 +
    }} {{#ifeq: {{lc:{{{assessment|no}}}}} | yes | meets [[TFW:Community topics notability guidelines|notability requirements]] for inclusion in the | is subject to [[TFW:Community topics notability assessment project|assessment]] under [[TFW:Community topics notability guidelines|notability requirements]] for inclusion in the main namespace of the }} Team Fortress Wiki.
 +
   | 3 = {{#if: {{{2|}}} | Relevant discussion and further information may be found on the [[{{TALKPAGENAME}}|talk page]]. '''Reason''': <i>{{{2}}}</i> | }}
 
   }}
 
   }}
 
}}<includeonly>
 
}}<includeonly>
{{lang cat|Category:Custom content}}
+
{{#ifeq: {{NAMESPACENUMBER}} | 0 | {{#switch:{{lc:{{{1|}}}}}
</includeonly><noinclude><!--
+
| mod = {{lang cat|Mods}}
 +
| map = {{lang cat|Custom maps}} <!-- temp -->
 +
| mission = {{lang cat|Custom Mann vs. Machine missions}}
 +
| event
 +
| contest
 +
| charity drive
 +
| competition = {{lang cat|Community events}}
 +
| mapping contest = {{lang cat|Mapping contests}}
 +
| april fools = {{lang cat|Community April Fools events}}
 +
| #default = {{lang cat|Community topics}}
 +
}}{{#ifeq:{{lc:{{{assessment|no}}}}}|yes||{{lang cat|Community topics pending assessment}}}}|}}</includeonly><noinclude><!--
 
{{Translation switching|en}}-->
 
{{Translation switching|en}}-->
 
{{Doc begin}}
 
{{Doc begin}}
 
== Usage ==
 
== Usage ==
* Place {{tl|custom content notice}} on any page that meets our [[TFW:Policies|Community content notability requirements]]‎.
+
* Place {{tl|custom content notice}} on any page that meets our [[TFW:Community topics notability guidelines|Community topics policy]]‎ (Effective as of 2023-10-02).
* A content '''type''' can be set with the first parameter. Available values are: '''mod''', '''map''', '''mission''', '''event''', '''contest''' and '''charity drive'''.
+
* A content '''type''' can be set with the first parameter.
* A '''reason''' can be set with the second parameter.
+
** Available values are: '''mod''', '''map''', '''mission''', '''event''' (aliases: '''contest''', '''charity drive''', '''competition'''), '''april fools''', '''mapping contest''', '''collection''' &ndash; e.g. {{tlx|Custom content notice|event}}
 
+
* A '''reason''' can be set with the second parameter &ndash; e.g. {{tlx|Custom content notice|map|Map contest winner. See talk page for details.}}
== Examples ==
+
* The category will automatically be added according to its content '''type''', please use the aliases where appropriate.
: &bull; <code><nowiki>{{Custom content notice}}</nowiki></code> produces: {{Custom content notice}}
 
 
 
&bull; <code><nowiki>{{Custom content notice|event}}</nowiki></code> produces: {{Custom content notice|event}}
 
 
 
&bull; <code><nowiki>{{Custom content notice|map|Legacy Wiki content. Map contest winner.}}</nowiki></code> produces: {{Custom content notice|map|Legacy Wiki content. Map contest winner.}}
 
  
 
[[Category:Maintenance templates|Custom content notice]]
 
[[Category:Maintenance templates|Custom content notice]]
 
</noinclude>
 
</noinclude>

Latest revision as of 17:59, 2 October 2023

Documentation for Custom content notice

Usage

  • Place {{custom content notice}} on any page that meets our Community topics policy‎ (Effective as of 2023-10-02).
  • A content type can be set with the first parameter.
    • Available values are: mod, map, mission, event (aliases: contest, charity drive, competition), april fools, mapping contest, collection – e.g. {{Custom content notice|event}}
  • A reason can be set with the second parameter – e.g. {{Custom content notice|map|Map contest winner. See talk page for details.}}
  • The category will automatically be added according to its content type, please use the aliases where appropriate.