Difference between revisions of "User:Caledor92/Sandbox1/doc"
Jump to navigation
Jump to search
>Caledor92 |
>Caledor92 |
||
| Line 1: | Line 1: | ||
| − | {{ | + | {{doc/start}} |
| − | + | == Usage == | |
| − | + | This module is intended to back the rendering of more complicated Adventurer data-related templates. | |
| − | + | Currently it only supports the [[Template:Character info card]] template. | |
| − | + | ||
| − | + | == Example == | |
| − | + | Generally, this module should be called via the regular wikitext templates instead of directly. But here is example syntax for calling the functions from wikitext: | |
| − | + | ||
| − | | | + | <pre>{{#invoke:Adventurer|infoCard|Euden}}</pre> |
| − | | | + | {{#invoke:Adventurer|infoCard|Euden}} |
| − | | | + | |
| − | + | <pre>{{#invoke:Adventurer|infoCard|Name=Edward}}</pre> | |
| − | | | + | {{#invoke:Adventurer|infoCard|Name=Edward}} |
| − | | | + | {{doc/end}} |
| − | | | ||
| − | | | ||
| − | }} | ||
Revision as of 10:50, 25 November 2019
Usage
This module is intended to back the rendering of more complicated Adventurer data-related templates. Currently it only supports the Template:Character info card template.
Example
Generally, this module should be called via the regular wikitext templates instead of directly. But here is example syntax for calling the functions from wikitext:
{{#invoke:Adventurer|infoCard|Euden}}
Lua error: Error: Table Adventurers not found..
{{#invoke:Adventurer|infoCard|Name=Edward}}
Lua error: Error: Table Adventurers not found..