Template:Crafting TOC: Difference between revisions

From HorizonXI Wiki
m (minor styling cleanup, added option for css classes and styles to the template)
m (minor exception required for fishing)
Line 1: Line 1:
<onlyinclude><includeonly><div {{#if:{{{css-class|}}}|class="{{{css-class}}}"|}} style="margin-bottom: 0.2em; padding: 0 3px; text-align: center; font-size: 110%; {{{css-style|}}}">[[:Category:{{{1}}}/Amateur|Amateur (1-10)]] • [[:Category:{{{1}}}/Recruit|Recruit (11-20)]] • [[:Category:{{{1}}}/Initiate|Initiate (21-30)]] • [[:Category:{{{1}}}/Novice|Novice (31-40)]] • [[:Category:{{{1}}}/Apprentice|Apprentice (41-50)]] • [[:Category:{{{1}}}/Journeyman|Journeyman (51-60)]] • [[:Category:{{{1}}}/Craftsman|Craftsman (61-70)]] • [[:Category:{{{1}}}/Artisan|Artisan (71-80)]] • [[:Category:{{{1}}}/Adept|Adept (81-90)]] • [[:Category:{{{1}}}/Veteran|Veteran (91-100)]] • [[:Category:{{{1}}}/Veteran+|Veteran+ (101-110)]] • [[:Category:{{{1}}}/Unknown|Unknown (???)]]<br> •         • <br>
<onlyinclude><includeonly><div {{#if:{{{css-class|}}}|class="{{{css-class}}}"|}} style="margin-bottom: 0.2em; padding: 0 3px; text-align: center; font-size: 110%; {{{css-style|}}}">[[:Category:{{{1}}}/Amateur|Amateur (1-10)]] •&nbsp;[[:Category:{{{1}}}/Recruit|Recruit (11-20)]] •&nbsp;[[:Category:{{{1}}}/Initiate|Initiate (21-30)]] •&nbsp;[[:Category:{{{1}}}/Novice|Novice (31-40)]] •&nbsp;[[:Category:{{{1}}}/Apprentice|Apprentice (41-50)]] •&nbsp;[[:Category:{{{1}}}/Journeyman|Journeyman (51-60)]] •&nbsp;[[:Category:{{{1}}}/Craftsman|Craftsman (61-70)]] •&nbsp;[[:Category:{{{1}}}/Artisan|Artisan (71-80)]] •&nbsp;[[:Category:{{{1}}}/Adept|Adept (81-90)]] •&nbsp;[[:Category:{{{1}}}/Veteran|Veteran (91-100)]] •&nbsp;[[:Category:{{{1}}}/Veteran+|Veteran+ (101-110)]] •&nbsp;[[:Category:{{{1}}}/Unknown|Unknown (???)]]<br>•&ensp;&ensp;•<br>[[:Category:{{{1}}}/All {{#ifeq:{{{1}}}|Fishing|Fish|Recipes}}|All {{#ifeq:{{{1}}}|Fishing|Fish|Recipes}}]]</div></includeonly></onlyinclude>
[[:Category:{{{1}}}/All Recipes|All Recipes]]</div></includeonly></onlyinclude>
[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]
==Usage==
==Usage==
Line 7: Line 6:


<pre>{{Crafting TOC|Woodworking}}</pre>
<pre>{{Crafting TOC|Woodworking}}</pre>
{{Crafting TOC|Woodworking}}


{{Crafting TOC|Woodworking}}
<pre>{{Crafting TOC|Fishing}}</pre>
{{Crafting TOC|Fishing}}

Revision as of 21:31, 4 September 2024

Usage

Optional: Set parameters css-class or css-style to apply css classes/styles to the container element.

{{Crafting TOC|Woodworking}}
{{Crafting TOC|Fishing}}