Difference between revisions of "Template:Ca"

From 100% Orange Juice Wiki
Jump to: navigation, search
m (Adding documentation)
Line 1: Line 1:
{{#invoke:ca|main}}
+
{{#invoke:ca|main}}<noinclude>{{Doc}}[[Category:Hover templates]]</noinclude>

Revision as of 19:14, 17 April 2021

Lua error in Module:Ca at line 26: bad argument #1 to 'find' (string expected, got nil).

Template-info.png Template documentation

This template links to a character page and creates a dynamic hover tooltip with the character's unit card.

Usage

In standard writing, the two most common forms below are used. This works with any character that has a unit card.

  • {{Ca|character name}}
  • {{Ca|character name|link text}}
Example
{{Ca|Marie Poppo}} is one of {{Ca|Islay|Islay's}} biggest counters.
Lua error in Module:Ca at line 26: bad argument #1 to 'find' (string expected, got nil). is one of Lua error in Module:Ca at line 26: bad argument #1 to 'find' (string expected, got nil). biggest counters.

For characters with multiple unit cards, use the following names:

Double Unit Card Single Unit Card
Lua error in Module:Ca at line 26: bad argument #1 to 'find' (string expected, got nil). Lua error in Module:Ca at line 26: bad argument #1 to 'find' (string expected, got nil). Lua error in Module:Ca at line 26: bad argument #1 to 'find' (string expected, got nil).
Lua error in Module:Ca at line 26: bad argument #1 to 'find' (string expected, got nil). Lua error in Module:Ca at line 26: bad argument #1 to 'find' (string expected, got nil). Lua error in Module:Ca at line 26: bad argument #1 to 'find' (string expected, got nil).
Lua error in Module:Ca at line 26: bad argument #1 to 'find' (string expected, got nil). Lua error in Module:Ca at line 26: bad argument #1 to 'find' (string expected, got nil). Lua error in Module:Ca at line 26: bad argument #1 to 'find' (string expected, got nil).

Tomomo is a special case, and needs to be formatted depending on context:

Template Result
{{Ca|Tomomo}} Lua error in Module:Ca at line 26: bad argument #1 to 'find' (string expected, got nil).
{{Ca|Tomomo (Softened)}} Lua error in Module:Ca at line 26: bad argument #1 to 'find' (string expected, got nil).
{{Ca|Tomomo (Unsoftened)|Tomomo}} Lua error in Module:Ca at line 26: bad argument #1 to 'find' (string expected, got nil).
{{Ca|Tomomo|Tomomo|text|Tomomo (Unsoftened & Softened)}} Lua error in Module:Ca at line 26: bad argument #1 to 'find' (string expected, got nil).