Difference between revisions of "Template:KW"

From Project: Gorgon Wiki
Jump to: navigation, search
(Creating new template as an experiment)
 
m
Line 8: Line 8:
 
==Syntax==
 
==Syntax==
 
<pre>
 
<pre>
{{kw|kw}}
+
{{KW|kw}}
 
}}
 
}}
 
</pre>
 
</pre>
Line 26: Line 26:
 
==== Disease example ====
 
==== Disease example ====
 
<pre>
 
<pre>
{{kw|BottledItem}}
+
{{KW|BottledItem}}
 
</pre>
 
</pre>
  
{{kw|BottledItem}}
+
{{KW|BottledItem}}
  
 
[[Category:Formatting templates|TOWN infobox]]
 
[[Category:Formatting templates|TOWN infobox]]
 
</noinclude>
 
</noinclude>

Revision as of 15:59, 1 August 2019

kw,
 
Item name
</div>


|}

Syntax

{{KW|kw}}
}}

Parameters

kw
Required. Must be a word. This word should be found in the Keywords section of the items json.

Description

Returns the input keyword, and adds a matching Items/kw category to whatever page it is used on.

Notes

This template will be used in an upcoming revision of the item infobox.

Examples

The typical usage is to use this in a new article, save, and THEN upload the image by clicking the image link (which then is pre-set with the article name):

Disease example

{{KW|BottledItem}}

BottledItem,