Editing Template:Card/doc
Appearance
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 15: | Line 15: | ||
* {{F|caption}} – Caption for the card. | * {{F|caption}} – Caption for the card. | ||
* {{F|show_caption}} – Set to {{F|1}} to show the caption. | * {{F|show_caption}} – Set to {{F|1}} to show the caption. | ||
* {{F|caption_width}} – Width of the caption | * {{F|caption_width}} – Width of the caption. | ||
* {{F|quality}} / {{F|rarity}} – Quality of the item. Default: see [[Module:CentralData]]. | * {{F|quality}} / {{F|rarity}} – Quality of the item. Default: see [[Module:CentralData]]. | ||
* {{F|type}} – Data type for the item. | * {{F|type}} – Data type for the item. | ||
* {{F|suffix}} – Special keyword to adjust the | * {{F|suffix}} – Special keyword to adjust the file's suffix. | ||
* {{F|link}} – Set another page to be linked. | * {{F|link}} – Set another page to be linked. | ||
* {{F|link_suffix}} – Append a suffix to the link. | * {{F|link_suffix}} – Append a suffix to the link. | ||
| Line 34: | Line 31: | ||
{{Example|no_copy=1|<nowiki> | {{Example|no_copy=1|<nowiki> | ||
{{Card|Mobai | {{Card|Mobai|show_text=1}} | ||
</nowiki>}} | </nowiki>}} | ||
{{Example|no_copy=1|<nowiki> | {{Example|no_copy=1|<nowiki> | ||
{{Card|Mobai | {{Card|Mobai|show_caption=1}} | ||
</nowiki>}} | </nowiki>}} | ||
{{Example|no_copy=1|<nowiki> | {{Example|no_copy=1|<nowiki> | ||
{{Card|Mobai|text=Text|caption=Caption|show_caption=1|quality=purple | {{Card|Mobai|text=Text|caption=Caption|show_caption=1|quality=purple}} | ||
</nowiki>}} | </nowiki>}} | ||
| Line 84: | Line 81: | ||
], | ], | ||
"label": "Show text", | "label": "Show text", | ||
"description": "Set to 1 to show the | "description": "Set to 1 to show the label.", | ||
"example": "1", | "example": "1", | ||
"type": "boolean" | "type": "boolean" | ||
| Line 101: | Line 98: | ||
"caption_width": { | "caption_width": { | ||
"label": "Caption width", | "label": "Caption width", | ||
"description": "Width of the caption | "description": "Width of the caption.", | ||
"example": " | "example": "75px", | ||
"type": "string | "type": "string" | ||
}, | }, | ||
"quality": { | "quality": { | ||
| Line 123: | Line 119: | ||
"suffix": { | "suffix": { | ||
"label": "Suffix", | "label": "Suffix", | ||
"description": "Special keyword to adjust the | "description": "Special keyword to adjust the file's suffix.", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
| Line 147: | Line 143: | ||
"example": "1", | "example": "1", | ||
"type": "boolean" | "type": "boolean" | ||
} | } | ||
}, | }, | ||
"description": "Template that creates an item-style card with an image, quality, label, caption, modifiers, and optional data-driven icons.", | "description": "Template that creates an item-style card with an image, quality, label, caption, modifiers, and optional data-driven icons.", | ||
"format": "inline" | "format": "inline" | ||
} | } | ||
</templatedata> | </templatedata> | ||