Template:Friendship: Difference between revisions
Jump to navigation
Jump to search
Marblemadmax (talk | contribs) (Created page with "<span id="nametemplate">[[File:Friendship_{{{2|}}}.png|20px|link={{{1|}}}]] [[{{{1|}}}]] Level {{{2|}}}</span><noinclude>Category:Template</noinclude>") |
(Remove cleanup tag - insert new documentation) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<span id="nametemplate">[[File: | <includeonly><span id="nametemplate">[[File:Friendship{{#if:{{{2|}}}|_{{{2|}}}|}}.png|20px|link={{{1|}}}#Friendship_Rewards]] [[{{{1|}}}]] {{#if:{{{nolvl|}}}||{{#if:{{{2|}}}|Level {{{2|}}}|}}}}</span></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}[[Category:Formatting templates]]</noinclude> |
Latest revision as of 17:21, 1 August 2023
Description
This template is used to insert a (typically numbered) friendship icon inline with a linked Character name.
Usage
In its most common form, this template can be used by entering the following onto a relevant page:
{{Friendship|<<Character Name>>|<<levelNumber>>}}
The level number should be provided as a simple number.
Optional Parameters
There are also optional parameters that can be used:
{{Friendship|<<Character Name>>|<<levelNumber>>|nolvl=yes}}
- If
levelNumber
is not provided, an empty Friendship Star Image will be used, and no Level text label will be appended.
- If
nolvl=yes
the additional "Level <<levelNumber>>" text will not be appended after the linked Character name. By default, this text will be included.
Examples
{{Friendship|Remy|3}}
results in...
Remy Level 3
{{Friendship|Elsa}}
results in...
{{Friendship|Minnie Mouse|7|nolvl=yes}}
results in...