Difference between revisions of "Template:LinksTo"

From Fancyclopedia 3
Jump to navigation Jump to search
(allow breaking before the delimiter (but not after it))
 
(2 intermediate revisions by one other user not shown)
Line 2: Line 2:
 
'''Usage:'''
 
'''Usage:'''
  
<nowiki>{{LinksTo | category=club | notcategory=US | 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}}}}}}:'''
Line 9: Line 9:
 
| debug=1
 
| debug=1
 
| category={{{category}}}
 
| category={{{category}}}
 +
| category1={{{category1}}}
 +
| category2={{{category2}}}
 
| linksto={{PAGENAME}}
 
| linksto={{PAGENAME}}
| notcategory=Admin
+
| notcategory={{{notcategory|Admin}}}
| notcategory={{notcategory}}
+
| notcategory1={{{notcategory1|Admin}}}
 +
| notcategory2={{{notcategory2|Admin}}}
 
| mode=inline
 
| mode=inline
 
| ordermethod=title
 
| ordermethod=title
 
| suppresserrors=true
 
| suppresserrors=true
 +
| inlinetext=&#32;-&nbsp;
 
}}
 
}}
 
</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}}}: