Editing Template:Royalty/doc

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
== Description ==
 
== Description ==
Place this template at the top of pages or sections that apply to content from [[Royalty (DLC)]]. It 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.
+
Adds a banner to indicate that the content of an entire page or section is from the [[Royalty DLC]]. Provides both a visual cue and acts as a link to the DLC's article.  
  
It also adds the [[:Category:Royalty]] to the page.
+
For inline use and similar small scale links, use the [[Template:RoyaltyIcon|<nowiki>{{RoyaltyIcon}}</nowiki>]]  
 +
== Usage ==
 +
Simply add the template to the top of the page or section required.
  
For inline use and similar small scale links, use {{T|RoyaltyIcon}} ({{RoyaltyIcon}}).
+
<nowiki>{{Royalty}}</nowiki>
  
== Optional parameters ==
+
Produces:
This template has no mandatory parameters.
 
  
=== First parameter ===
+
<includeonly>{{Royalty}}</includeonly>
Setting the first parameter to any value (e.g. <code><nowiki>{{Royalty|No category}}</nowiki></code>) suppresses adding the page to the Royalty category. Any text will work, but "No category" is suggested for clarity's sake.
 
  
Include the 'No category' argument when marking a page that also includes core game content or when using the template for testing purposes.
+
Adding a argument to the template will suppress the category addition. Any argument will work, but "No Category" is suggested for clarities sake.
 +
<nowiki>{{Royalty|No Category}}</nowiki>
  
=== "section" parameter ===
+
<includeonly>{{Royalty|No Category}}</includeonly>
Setting this parameter to any value (e.g. <code><nowiki>{{Royalty|section = 1}}</nowiki></code>) will change the message from "article" to "section" and suppresses adding the page to the Royalty category.
 
 
 
== Examples ==
 
<code><nowiki>{{Royalty}}</nowiki></code>
 
{{Royalty|No category}}
 
 
 
<code><nowiki>{{Royalty|section = 1}}</nowiki></code>
 
{{Royalty|section = 1}}
 
 
 
<code><nowiki>{{Royalty|No category}}</nowiki></code>
 
{{Royalty|No category}}
 
 
 
== See also ==
 
=== Content ===
 
* {{T|Royalty}} for marking content from [[Royalty (DLC)]] {{RoyaltyIcon}}.
 
* {{T|Ideology}} for marking content from [[Ideology (DLC)]] {{IdeologyIcon}}.
 
* {{T|Biotech}} for marking content from [[Biotech (DLC)]] {{BiotechIcon}}.
 
* {{T|Anomaly}} for marking content from [[Anomaly (DLC)]] {{AnomalyIcon}}.
 
* {{T|Console}} for marking  content from the [[console edition]] {{ConsoleIcon}}.
 
* {{T|Spoiler}} for marking potential spoilers.
 
 
 
=== Maintenance ===
 
* Incomplete pages/sections:
 
** {{T|Documentation wanted}} for marking templates without documentation.
 
** {{T|Image wanted}} for marking pages or sections that are missing images.
 
** {{T|Stub}} for marking incomplete pages or sections.
 
* Request major changes:
 
** {{T|Disambig}} for marking pages that are ambiguous.
 
** {{T|Merge}} for marking pages that should be merged.
 
** {{T|Move}} for marking pages or sections that should be moved.
 
** {{T|Rewrite}} for marking pages or sections that should be rewritten.
 
** {{T|Recode}} for marking templates or pages that need to be recoded.
 
* Deletion:
 
** {{T|Delete}} for marking pages that should be deleted.
 
** {{T|Obsolete}} for marking pages that are no longer relevant to the current game version.
 
** {{T|Safe to delete}} for marking pages that are ready to be deleted.
 
** {{T|SpeedyDelete}} for marking pages that should be deleted as fast as possible.
 
 
 
<includeonly>[[Category:Notice templates]]</includeonly>
 
<noinclude>[[Category:Template documentation]]</noinclude>
 

Please note that all contributions to RimWorld Wiki are considered to be released under the CC BY-SA 3.0 (see RimWorld Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)