Template:Craft Recipe List Header: Difference between revisions
From HorizonXI Wiki
mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
{| style="border: 1px solid #aaa; padding: 4px;" | {| style="border: 1px solid #aaa; padding: 4px;" | ||
| class="{{{rank item css}}}" style="padding: 8px; width: 50px; text-align: center" | Text | | class="{{{rank item css}}}" style="padding: 8px; width: 50px; text-align: center" | Text | ||
| style="background-color: transparent; padding-left: 8px;" | Guild Rank Test item <small class="{{{main craft css}}}" style="border: 1px solid #aaa; padding: 4px; border-radius: 4px; margin-left: 1em">[[{{#if:{{NAMESPACE}}|{{ | | style="background-color: transparent; padding-left: 8px;" | Guild Rank Test item <small class="{{{main craft css}}}" style="border: 1px solid #aaa; padding: 4px; border-radius: 4px; margin-left: 1em">[[{{#if:{{NAMESPACE}}|{{NAMESPACEE}}:|}}{{PAGENAMEE}}#guild-rank-test-item|click to locate]]</small> | ||
|- | |- | ||
| class="{{{main craft css}}}" style="padding: 8px; width: 50px; text-align: center" | Text | | class="{{{main craft css}}}" style="padding: 8px; width: 50px; text-align: center" | Text |
Revision as of 12:41, 26 December 2023
Usage
A template that generates the header information for the list of crafting recipes. See, e.g., Category:Woodworking/Amateur.
Note: This shows only the legend, will NOT affect the table formatting.
Examples
{{Craft Recipe List Header | name = Woodworking | rank item css = text-bold | main craft css = woodworking-body | sub craft css = woodworking-body-alt }}
Text | Guild Rank Test item click to locate |
Text | Item with Woodworking as its main craft |
Text | Item with Woodworking as a subcraft |