Difference between revisions of "Template:Royalty/doc"

From RimWorld Wiki
Jump to navigation Jump to search
Line 7: Line 7:
 
==Syntax==
 
==Syntax==
 
Type following at the top of the page or the beginning of a section.
 
Type following at the top of the page or the beginning of a section.
<nowiki>{{Royalty}}</nowiki>
+
 
 +
<code><nowiki>{{Royalty}}</nowiki></code>
  
 
===Optional parameters===
 
===Optional parameters===
Line 13: Line 14:
  
 
Any text will work, but "No category" is suggested for clarity's sake.
 
Any text will work, but "No category" is suggested for clarity's sake.
<nowiki>{{Royalty|No category}}</nowiki>
+
 
 +
<code><nowiki>{{Royalty|No category}}</nowiki></code>
  
 
==Usage==
 
==Usage==
Line 22: Line 24:
 
==Sample output==
 
==Sample output==
 
Typing:
 
Typing:
<nowiki>{{Royalty}}</nowiki>
+
 
 +
<code><nowiki>{{Royalty}}</nowiki></code>
  
 
Produces:
 
Produces:

Revision as of 05:31, 27 January 2021

Description

Adds a banner to indicate that the content of a section or an entire page is from the Royalty DLC. Provides a visual cue and acts as a link to the DLC's article.

For inline use and similar small scale links, use {{RoyaltyIcon}}.

Syntax

Type following at the top of the page or the beginning of a section.

{{Royalty}}

Optional parameters

This template accepts one optional parameter that suppresses adding the page to the Royalty category.

Any text will work, but "No category" is suggested for clarity's sake.

{{Royalty|No category}}

Usage

Use this template on pages or sections that apply to content from the Royalty DLC.

Include the 'No category' argument when marking a section on a page that also includes core game content.

Sample output

Typing:

{{Royalty}}

Produces: