Difference between revisions of "Template:LinksTo"
Jump to navigation
Jump to search
(allow breaking before the delimiter (but not after it)) |
|||
(7 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
'''Usage:''' | '''Usage:''' | ||
− | <nowiki>{{LinksTo | category=club | collapse=true | text=Description}}</nowiki> | + | <nowiki>{{LinksTo | category=club | category1=venue | category2=locale | notcategory=US | notcategory1=UK | notcategory=NZ | collapse=true | text=Description}}</nowiki> |
</noinclude><div class="mw-collapsible {{#ifeq:{{{collapse}}}|true|mw-collapsed}}" data-collapsetext="-" data-expandtext="+"> | </noinclude><div class="mw-collapsible {{#ifeq:{{{collapse}}}|true|mw-collapsed}}" data-collapsetext="-" data-expandtext="+"> | ||
− | '''{{{text|Links to category {{{category}}}}}}''' | + | '''{{{text|Links to category {{{category}}}}}}:''' |
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
{{#dpl: | {{#dpl: | ||
| debug=1 | | debug=1 | ||
| category={{{category}}} | | category={{{category}}} | ||
+ | | category1={{{category1}}} | ||
+ | | category2={{{category2}}} | ||
| linksto={{PAGENAME}} | | linksto={{PAGENAME}} | ||
+ | | notcategory={{{notcategory|Admin}}} | ||
+ | | notcategory1={{{notcategory1|Admin}}} | ||
+ | | notcategory2={{{notcategory2|Admin}}} | ||
| mode=inline | | mode=inline | ||
| ordermethod=title | | ordermethod=title | ||
| suppresserrors=true | | suppresserrors=true | ||
+ | | inlinetext= - | ||
}} | }} | ||
</div> | </div> | ||
</div> | </div> |
Latest revision as of 16:32, 5 March 2021
Usage:
{{LinksTo | category=club | category1=venue | category2=locale | notcategory=US | notcategory1=UK | notcategory=NZ | collapse=true | text=Description}}
Links to category {{{category}}}: