Difference between revisions of "Module:Adventurer/doc"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Eave
(Created page with "{{doc/start}} == Usage == This module is intended to back the rendering of more complicated Adventurer data-related templates. Currently it only supports the Template:Charac...")
>Eave
m (s/Euden/The Prince)
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
 
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:
 
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>
+
<pre>{{#invoke:Adventurer|infoCard|The Prince}}</pre>
{{#invoke:Adventurer|infoCard|Euden}}
+
{{#invoke:Adventurer|infoCard|The Prince}}
  
 
<pre>{{#invoke:Adventurer|infoCard|Name=Edward}}</pre>
 
<pre>{{#invoke:Adventurer|infoCard|Name=Edward}}</pre>
 
{{#invoke:Adventurer|infoCard|Name=Edward}}
 
{{#invoke:Adventurer|infoCard|Name=Edward}}
 
{{doc/end}}
 
{{doc/end}}

Latest revision as of 14:14, 25 March 2020

50px Documentation

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|The Prince}}

Lua error: Error: Table Adventurers not found..

{{#invoke:Adventurer|infoCard|Name=Edward}}

Lua error: Error: Table Adventurers not found..