Difference between revisions of "Template:Key"

From Wiki
Jump to navigation Jump to search
(Create {{key|...}} template to keywords to their explanatory pages.)
 
m (moved Template:key to Template:Key: move to Uppercase)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
<code>[[Command/keyword:{{{1}}}]]</code>
+
<tt>[[Command/keyword:{{{1}}}|{{{2|{{{1}}}}}}]]</tt><noinclude>
 +
----
 +
 
 +
{{documentation}}
 +
</noinclude>

Latest revision as of 14:51, 18 September 2012

[[Command/keyword:{{{1}}}|{{{1}}}]]


[edit] [history] [purge] Documentation icon Template documentation

Link a key to its description page.

You type:

 {{key|style}}
 {{key|sectionnumber|''section''number}}

Expands to:

 <tt>[[Command/keyword:style|style]]</tt>
 <tt>[[Command/keyword:sectionnumber|''section''number]]</tt>

Looks like:

style
sectionnumber