Mr. Johnson (talk | contribs) No edit summary |
Mr. Johnson (talk | contribs) No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Documentation}} | {{Documentation}} | ||
<includeonly><onlyinclude>{{#switch:{{lc:{{{1|}}}}} | <includeonly><onlyinclude>{{#switch:{{lc:{{{1|}}}}} | ||
| actor = [https://foundryvtt.com/article/actors/ {{#ifeq:{{{2|}}}|s|Actors|Actor}}] | | actor = [https://foundryvtt.com/article/actors/ {{#ifeq:{{{2|}}}|s|Actors|{{{2|Actor}}}}}] | ||
| macro = [https://foundryvtt.com/article/macros/ {{#ifeq:{{{2|}}}|s|Macros|Macro}}] | | chat = [https://foundryvtt.com/article/chat/ {{#ifeq:{{{2|}}}|s|Chat Messages|{{{2|Chat Message}}}}}] | ||
| scene = [https://foundryvtt.com/article/scenes/ {{#ifeq:{{{2|}}}|s|Scenes|Scene}}] | | macro = [https://foundryvtt.com/article/macros/ {{#ifeq:{{{2|}}}|s|Macros|{{{2|Macro}}}}}] | ||
| token = [https://foundryvtt.com/article/tokens/ {{#ifeq:{{{2|}}}|s|Tokens|Token}}] | | measure = [https://foundryvtt.com/article/measurement/ {{#ifeq:{{{2|}}}|s|Measurement|{{{2|Measurement}}}}}] | ||
| scene = [https://foundryvtt.com/article/scenes/ {{#ifeq:{{{2|}}}|s|Scenes|{{{2|Scene}}}}}] | |||
| template = [https://foundryvtt.com/article/measurement/ {{#ifeq:{{{2|}}}|s|Template|{{{2|Template}}}}}] | |||
| token = [https://foundryvtt.com/article/tokens/{{{3|}}} {{#ifeq:{{{2|}}}|s|Tokens|{{{2|Token}}}}}] | |||
| user = [https://foundryvtt.com/article/users/{{{3|}}} {{#ifeq:{{{2|}}}|s|Users|{{{2|Users & Permissions}}}}}] | |||
| #default = {{Error|{{Code|{{{1}}}}} is not a valid input for {{Template|Foundry}}}} | | #default = {{Error|{{Code|{{{1}}}}} is not a valid input for {{Template|Foundry}}}} | ||
}}</onlyinclude></includeonly> | }}</onlyinclude></includeonly> |
Latest revision as of 21:03, 29 December 2023
Template:Foundry
Template:Foundry
is used to create links to specific articles in the Foundry VTT Knowledge Base.
Usage
It accepts one mandatory string parameter and one optional string parameter:
- must be one of
actor
,chat
,macro
,measure
,scene
,template
, ortoken
, which correspond with similarly-named articles. - is optional and accepts either
s
or an arbitrary string.s
pluralizes the default text.- Any other value replaces the default text.
Returns
{{Foundry|actor}}
returns:
{{Foundry|scene|s}}
returns:
{{Foundry|chat|Chat Log}}
returns: The documentation above was transcluded from Template:Foundry/Documentation. [ edit ]