Template:SetSMW/FromField
From Fallen London Wiki (Staging)
Template documentation (for the above template, sometimes hidden or invisible)
This helper template receives the variable {{#var:FromField}}
(not a parameter!!!) from an action template (something like {{Action}} or {{Social Actions}}) and sets the Property:From Card/Storylet in Semantic Mediawiki appropriately.
The template is intended for use in other templates only. The else
parameter allows to add categories if the variable is empty.
Note: If you add visible text there, it will appear in the article, so it is suggested to only use "invisible" wikitext like adding categories, variables or properties.
Examples:
{{SetSMW/FromField |From field formatted={{{From field formatted|}}} }}
{{SetSMW/FromField |From field formatted={{{From field formatted|}}} |else=[[Category:Social Actions with Unknown From page]] }}
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
From Field formatted | From Field formatted | "From Field formatted" parameter from other template
| Unknown | optional |
Wikitext if variable is empty | else |
| Unknown | optional |
Visit Template:SetSMW/FromField/doc to edit this text! (How does this work?)