Difference between revisions of "Template:Lc"

From HypertWiki
Jump to navigation Jump to search
(default to eponymous category)
(corrected and expanded description)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>Tag with a category and also link to that category page.</noinclude>[[:category:{{{1|{{PAGENAME}}}}}|{{{2|{{{1|category page}}}}}}]]
<noinclude>
 
* '''mnemonic''': link-to-category
[[Category:Links|Lc]]
* '''action''': tags page with the given category
** if category is not specified, displays "category page" and links to the category page for the current page
*** '''example''': on this page, just <nowiki>{{lc}}</nowiki> displays as {{lc}}
</noinclude><includeonly>[[:category:{{{1|{{PAGENAME}}}}}|{{{2|{{{1|category page}}}}}}]]</includeonly>

Latest revision as of 14:46, 14 November 2019

  • mnemonic: link-to-category
  • action: tags page with the given category
    • if category is not specified, displays "category page" and links to the category page for the current page