Template:Servant Icon/doc
Cached copy of the original page · revision 1657509 · refresh
This is the documentation page for Servant Icon. It contains usage information, categories, and other content not part of the original template page. | |||
|---|---|---|---|
| Main | Documentation | Sandbox | Usage |

Diaplay servant's icon.
Per-Servant templates (ex. {{Artoria Pendragon}} ) take the same named parameters, with the width as their only unnamed parameter.
To add a template for a new Servant, use this as its content: <includeonly>{{#invoke:Servant Icon|fromTemplate}}</includeonly><noinclude>{{Documentation|type=Servant Icon}}</noinclude>
Syntax
This template has 2 unnamed parameters:
- 1: Page Name: servant's article page name.
- 2: (optional): the width (px) of icon. Default is 75.
This template has the following named parameters:
- stage (optional): The Ascension stage of servant. Up to 1 ~ 4, default is 1.
- Set
cos1will display the first Costume Dress. - Set
s/gwill display Palingenesis. (s for Silver of 1★~2★, g for Gold of 3★) - Set
pwill display Grand Servant. - Set
spwill display special NPC icon such as Gilgamesh at Babylonia NPC or Miyamoto Musashi at Shimosa NPC.
- Set
- link (optional): Overwrite the link name.
- inum (optional): Show Template:Inum text.
- rawtext (optional): Show raw text instead of icon.
- rawimage (optional): Show raw image (Frameless). Some servant's stages doesn't support this.
- isSpoiler (optional): Set
yto show a spoiler icon until mouseover. Mobile has no hover, so it always shows the spoiler icon. The default follows rarity: 0★S000BLACK1Icon, 1★~2★S000A1Icon, 3★S000A1SIcon, 4★~5★S000A1GIcon. Withrawimage, the default isS000A1IconRaw. - spoilercover (optional): With
isSpoiler=y, the icon file to show instead of the default (name without.webp). Used as given:rawimageonly applies to the Servant's own icon.
Examples
{{Servant Icon|Nero Claudius}} yields: ![]()
{{Servant Icon|Nero Claudius|stage = cos2}} yields: ![]()
{{Servant Icon|Nero Claudius|stage = 1p}} yields: ![]()
{{Servant Icon|Nero Claudius|150}} yields: ![]()
{{Servant Icon|Nero Claudius|inum = text here}} yields:
text here
{{Servant Icon|Nero Claudius|rawimage = y}} yields: ![]()
{{Servant Icon|Nero Claudius|rawtext = y}} yields: Nero Claudius
{{Servant Icon|Nero Claudius|isSpoiler = y}} yields: ![]()
{{Servant Icon|Nero Claudius|isSpoiler = y|spoilercover = S000A2Icon}} yields: ![]()