Template:CN/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
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. | 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. | ||
To link to "X (Cyber Nations)" instead, use {{t|CNp}}. | |||
==Parameters== | ==Parameters== | ||
*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. | |||
==Examples== | ==Examples== |
Revision as of 07:59, 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 (<game>)" instead of "X in <game>".
{{CNp}}
does this automatically.
Examples
{{CN|Lord of Darkness}}
produces: Lord of Darkness{{CN|Lord of Darkness|Lard of Duckness}}
produces: Lard of Duckness