Difference between revisions of "NeoDex:Templates"
Jump to navigation
Jump to search
A Neezles A (talk | contribs) m (→NQ1) |
m (shortcut) |
||
Line 1: | Line 1: | ||
{{policy}} | {{shortcut|[[ND:TMPS]]}}{{policy}} | ||
'''Templates''' are special pages on the NeoDex that can be made to appear on any page - transclusion. This is useful for when the same message has to be repeated on several pages, or to help break up pages like the [[Main Page]] for easier editing. | '''Templates''' are special pages on the NeoDex that can be made to appear on any page - transclusion. This is useful for when the same message has to be repeated on several pages, or to help break up pages like the [[Main Page]] for easier editing. | ||
Line 356: | Line 356: | ||
There are a some templates that don't fit into the above categories, but are still useful and are used. | There are a some templates that don't fit into the above categories, but are still useful and are used. | ||
===Shortcut=== | |||
{{shortcut}} | |||
<br clear="all" /> | |||
[[Template:Shortcut]] is used to display the shortcut redirect to a particular article on the ''NeoDex:'' namespace (i.e. policy pages). | |||
It is added with the following code: | |||
'''<nowiki>{{shortcut|}}</nowiki>''' | |||
With the variable after the vertical bar being the article shortcut, wikilinked - e.g., for this page, ''<nowiki>[[ND:TMPS]]</nowiki>''. If more than one shortcut exists, they can be added in the same variable, separated by <nowiki><br /></nowiki> line breaks, ''not'' added into a second shortcut template. | |||
===Stub=== | ===Stub=== |