Template:CN/doc: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
(create)
 
(doc template)
Tag: Replaced
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}


This is a shortcut to {{t|gamepage}} for Cyber Nations. It will link to an "X in Cyber Nations" page, without showing the "in Cyber Nations" part.
{{Gamepage/shortcut doc|CN}}
 
==Parameters==
*First unnamed parameter: the subject (name of the page).
*(optional) Second unnamed parameter: the text to display for the link.
 
==Examples==
*<code><nowiki>{{CN|Lord of Darkness}}</nowiki></code> produces: {{CN|Lord of Darkness}}
*<code><nowiki>{{CN|Lord of Darkness|Lard of Duckness}}</nowiki></code> produces: {{CN|Lord of Darkness|Lard of Duckness}}
 
<includeonly>[[Category:Link templates]]</includeonly>

Latest revision as of 03:52, 6 August 2020

This page contains the documentation for Template:CN. It includes information about the template, such as usage and categories, and is not displayed when using the template itself.

This is a shortcut to {{gamepage}} for Cyber Nations. It will link to an "X in Cyber Nations" page, without showing the " in Cyber Nations" part.

To link to "X (Cyber Nations)" instead, use {{CNp}}.

Parameters

  • First unnamed parameter: the subject (name of the page).
  • (optional) Second unnamed parameter: the text to display for the link.
  • p: Define this parameter to link to "X (Cyber Nations)" instead of "X in Cyber Nations". {{CNp}} does this automatically.

Examples