Difference between revisions of "Template:BoxLinkGroup"
From Armagetron
(Created a template for grouped pages, like tournaments) |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly><div class="box box-linkgroup | + | <includeonly> |
+ | ---- | ||
+ | <div class="box box-linkgroup"><div class="linkgroup-links" >'''{{{1}}}''' | {{{2}}}</div></div> | ||
+ | ---- | ||
+ | <div class="linkgroup-description">{{{3|}}}</div> | ||
+ | </includeonly><noinclude>This template is useful for grouping a few pages together and linking between them. | ||
==Usage== | ==Usage== | ||
− | Give a title and a | + | Give a title as first argument, and a <code><nowiki> {{!}} </nowiki></code>-separated list of links as second argument: |
− | <nowiki>{{BoxLinkGroup|Title|[[Page One]] | + | <nowiki>{{BoxLinkGroup|Title|[[Page One]] {{!}} [[Page Two]]}}</nowiki> |
+ | |||
+ | {{BoxLinkGroup|Title|[[Page One]] {{!}} [[Page Two]]}} | ||
+ | |||
+ | You can use the optional third argument to provide a description. | ||
+ | |||
+ | <nowiki>{{BoxLinkGroup|Title|[[Page One]] {{!}} [[Page Two]]|Description}}</nowiki> | ||
+ | |||
+ | {{BoxLinkGroup|Title|[[Page One]] {{!}} [[Page Two]]|Description}} | ||
− | |||
</noinclude> | </noinclude> |
Latest revision as of 12:45, 24 August 2021
This template is useful for grouping a few pages together and linking between them.
Usage
Give a title as first argument, and a {{!}}
-separated list of links as second argument:
{{BoxLinkGroup|Title|[[Page One]] {{!}} [[Page Two]]}}
You can use the optional third argument to provide a description.
{{BoxLinkGroup|Title|[[Page One]] {{!}} [[Page Two]]|Description}}
Description