Anonymous
×
Create a new article
Write your page title here:
We currently have 55 articles on SR5 Foundry VTT System Wiki. Type your article name above or click on one of the titles below and start writing!



SR5 Foundry VTT System Wiki

Template:Foundry: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
{{Documentation}}
{{Documentation}}
<includeonly><onlyinclude>{{#switch:{{lc:{{{1|}}}}}
<includeonly><onlyinclude>{{#switch:{{lc:{{{1|}}}}}
| token = [https://foundryvtt.com/article/tokens/ {{#ifeq:{{{2|}}}|s|Tokens|Token}} ]
| actor = [https://foundryvtt.com/article/actors/ {{#ifeq:{{{2|}}}|s|Actors|Actor}}]
| scene = [https://foundryvtt.com/article/scenes/ {{#ifeq:{{{2|}}}|s|Scenes|Scene}}]
| token = [https://foundryvtt.com/article/tokens/ {{#ifeq:{{{2|}}}|s|Tokens|Token}}]
| #default = {{Error|{{Code|{{{1}}}}} is not a valid input for {{Template|Foundry}}}}
}}</onlyinclude></includeonly>
}}</onlyinclude></includeonly>

Revision as of 21:07, 4 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:

  1. must be one of actor, chat, macro, measure, scene, template, or token, which correspond with similarly-named articles.
  2. 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:
Error! chat is not a valid input for Template:Foundry!

The documentation above was transcluded from Template:Foundry/Documentation.