Template:NPCInfobox/doc: Difference between revisions

From Fanra's EverQuest Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Example:
{{documentation subpage}}
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->


<nowiki>{{</nowiki>NPCInfobox
{{tl|NPCInfobox}} may be used to summarize information about a particular NPC, usually at the top of an article.


== Usage ==
The infobox may be added by pasting the template as shown below into an article and then filling in the desired fields. Any parameters left blank will not be displayed.  If a parameter is omitted, the data type expression will be shown.  For that reason it is recommended that all parameters be listed, with unneeded ones left blank.
=== Blank template with all parameters ===
<pre style="overflow: auto">
{{NPCInfobox
|name      =
|image    = <!-- just the filename, with the File: or Image: prefix, without enclosing [[brackets]] -->
|caption  =
|type      =
|race      =
|gender    =
|faction  =
|location  =
}}
</pre>
== Parameters ==
== Examples ==
{{NPCInfobox
|name = Distribution Facilitator XCV
|name = Distribution Facilitator XCV
|image = File:Distribution Facilitator XCV.png
|caption =
|type = [[Living Legacy]] reward distributor
|race = Clockwork
|gender =
|faction =
|location = Plane of Knowledge
}}


<pre style="overflow: auto">
{{NPCInfobox
|name = Distribution Facilitator XCV
|image = File:Distribution Facilitator XCV.png
|image = File:Distribution Facilitator XCV.png
|caption =
|caption =
|type = [[Living Legacy]] reward distributor
|type = [[Living Legacy]] reward distributor
|race = Clockwork
|race = Clockwork
|gender =
|gender =
|faction =
|faction =
|location = Plane of Knowledge
|location = Plane of Knowledge
 
}}</pre>
<nowiki>}}</nowiki>
 


<noinclude>[[Category:Backup]]</noinclude>
<noinclude>[[Category:Backup]]</noinclude>

Revision as of 14:59, 1 April 2013

{{NPCInfobox}} may be used to summarize information about a particular NPC, usually at the top of an article.

Usage

The infobox may be added by pasting the template as shown below into an article and then filling in the desired fields. Any parameters left blank will not be displayed. If a parameter is omitted, the data type expression will be shown. For that reason it is recommended that all parameters be listed, with unneeded ones left blank.

Blank template with all parameters

{{NPCInfobox
|name      = 
|image     = <!-- just the filename, with the File: or Image: prefix, without enclosing [[brackets]] -->
|caption   =
|type      = 
|race      = 
|gender    =
|faction   =
|location  = 
}}

Parameters

Examples

Distribution Facilitator XCV
Type Living Legacy reward distributor
Race Clockwork
Location Plane of Knowledge
Findable
(via Ctrl-F)
{{{findable}}}
v · d · e


{{NPCInfobox
|name = Distribution Facilitator XCV
|image = File:Distribution Facilitator XCV.png
|caption =
|type = [[Living Legacy]] reward distributor
|race = Clockwork
|gender =
|faction =
|location = Plane of Knowledge
}}