Difference between revisions of "Template:Royalty/doc"

From RimWorld Wiki
Jump to navigation Jump to search
Line 10: Line 10:
 
<code><nowiki>{{Royalty}}</nowiki></code>
 
<code><nowiki>{{Royalty}}</nowiki></code>
  
===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.
+
'''Optional parameters'''
 +
<p>This template accepts one optional parameter that suppresses adding the page to the Royalty category.</p>
 +
<p>Any text will work, but "No category" is suggested for clarity's sake.</p>
  
 
<code><nowiki>{{Royalty|No category}}</nowiki></code>
 
<code><nowiki>{{Royalty|No category}}</nowiki></code>

Revision as of 05:38, 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: