Template:Initiative: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Created page with "{{SmIconLink|Initiative Icon.png|Initiative|{{{1|}}}}}<noinclude> Inserts the Initiative icon as well as a link. {| | <code><nowiki>{{Initiative}}</nowiki></code> || {{Initiative}} |- | <code><nowiki>{{Initiative|Initiative Roll}}</nowiki></code> || {{Initiative|Initiative Roll}} |} == Template data == Category:Templates <templatedata> { "params": { "1": { "label": "alt", "description": "An alternative name for the link.", "type": "string" } } } </...")
 
(Added documentation/template demo templates)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{SmIconLink|Initiative Icon.png|Initiative|{{{1|}}}}}<noinclude>
<includeonly>{{SmIconLink|Initiative Icon.png|Initiative|{{{1|}}}}}</includeonly><noinclude>{{Documentation|content=
 
Inserts the Initiative icon as well as a link.
Inserts the Initiative icon as well as a link.


{|
== Examples ==
| <code><nowiki>{{Initiative}}</nowiki></code> || {{Initiative}}
{{Template demo
|-
| style = table
| <code><nowiki>{{Initiative|Initiative Roll}}</nowiki></code> || {{Initiative|Initiative Roll}}
| <nowiki>{{Initiative}}</nowiki>
|}
| <nowiki>{{Initiative|Initiative roll}}</nowiki>
}}


== Template data ==
== Template data ==


[[Category:Templates]]
<templatedata>
<templatedata>
{
{
Line 22: Line 22:
}
}
}
}
</templatedata></noinclude>
</templatedata>
}}
[[Category:Templates]]
[[Category:Link templates]]
</noinclude>

Latest revision as of 19:16, 19 January 2025

Template documentation

Inserts the Initiative icon as well as a link.

Examples

Markup Renders as
{{Initiative}}
Initiative Initiative
{{Initiative|Initiative roll}}
Initiative roll Initiative roll

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
alt1

An alternative name for the link.

Stringoptional