Difference between revisions of "Template:Shared icon"

From Underrail Wiki
Jump to navigation Jump to search
m
m (Protected "Template:Shared icon": template (‎[edit=autoconfirmed] (indefinite) ‎[move=autoconfirmed] (indefinite)))
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{mbox
 
{{mbox
 
| type = notice
 
| type = notice
| text = This file is a '''''shared icon''''' used by multiple items. No article should directly link to this file. Instead, pages should use a file redirect matching their pagename (<code><nowiki>File:{{PAGENAME}}.png</nowiki></code>) to refer to this icon.<br>Contents of the file redirect should be: <code><nowiki>#REDIRECT [[File:</nowiki>{{PAGENAME}}]]</code> (See [[#File usage]] below to ensure there are no direct links to this file)
+
| text = This file is a '''''shared icon''''' used by multiple items. No item infobox should directly link to this file.<br>Infoboxes should use a file redirect matching the item name ''(eg. [[:File:SGS Cave Access Card.png]] for [[SGS Cave Access Card]])'' when linking to a shared icon.<br>Contents of the file redirect for this icon should be: <code><nowiki>#REDIRECT [[File:</nowiki>{{PAGENAME}}]]</code> (See [[#filelinks|File usage]] below to ensure there are no direct links to this file.)
}}<noinclude>
+
}}<includeonly>[[Category:Shared icons]]</includeonly><noinclude>
  
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Latest revision as of 06:23, 14 October 2017

This file is a shared icon used by multiple items. No item infobox should directly link to this file.
Infoboxes should use a file redirect matching the item name (eg. File:SGS Cave Access Card.png for SGS Cave Access Card) when linking to a shared icon.
Contents of the file redirect for this icon should be: #REDIRECT [[File:Shared icon]] (See File usage below to ensure there are no direct links to this file.)
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Shared_icon/doc to view this documentation. (edit) (How does this work?)
Description
Template to let contributors know how to deal with shared icons.