Template:CN/doc: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 8: Line 8:
*First unnamed parameter: the subject (name of the page).
*First unnamed parameter: the subject (name of the page).
*(optional) Second unnamed parameter: the text to display for the link.
*(optional) Second unnamed parameter: the text to display for the link.
*p: Define this parameter to link to "X (<game>)" instead of "X in <game>". {{t|CNp}} does this automatically.
*p: Define this parameter to link to "X (Cyber Nations)" instead of "X in Cyber Nations". {{t|CNp}} does this automatically.


==Examples==
==Examples==

Revision as of 08:02, 18 July 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