Jump to content

Template:Wplink-base/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This is the mother template for all Wplink-* templates. The syntax is

{{Wplink-base
| project =
| participants =
| assess =
| alerts =
| articles =
| requests =
| todo =
| child =
| collab =
| templates =
| news =
| letter =
| maint =
| newarts =
| activity =
| stats =
| catsub =
| cat =
| subs =
| random =
| edits =
| customN =
}}
  • Project - WikiProject name, without "WikiProject"
  • Participants ... catsub - the general name of subpages containing WikiProject lists and information. Wplink templates should pass calls directly to Wplink-base, but provide a default subpage name for each subpage to be listed - e.g. Members, Assessments, Article alerts, etc.
  • cat - the automatic WikiProject article category from the talk page template. Almost always the same as the name of the WikiProject, but the cat parameter should also be passed intact, in case of a non-standard WikiProject category.
  • subs, random, and edits - any non-blank value will display the subpages and project edits links.
  • All Wplink templates should parse for parameter=no by passing parameters by code like |todo={{#ifeq:{{{todo|}}}}} |no| |{{{todo|To do}}}}}. This will pass a blank value to Wplink-base when todo=no, but will also allow for todo=To do list, when the subpage is at Project name/To do list
  • customN, where N = 1...10 - allows for 10 custom subpages to be specified. Must include any slashes specifying the subpage name.

See also

[edit]
Code WikiProject LINKs mnemonic Examples, using WikiProject US
{{Wplink-slcre}} Subpages List, Category, Random, and Edits WikiProject United States (talk · project cat · project pages · random · edits)
{{Wplink-slce}} Subpages List, Category, and Edits WikiProject United States (talk · project cat · project pages · edits)
{{Wplink-slcr}} Subpages List, Category, and Random WikiProject United States (talk · project cat · project pages · random)
{{Wplink-slc}} Subpages List and Category WikiProject United States (talk · project cat · project pages)
{{Wplink-slre}} Subpages List, Random, and Edits WikiProject United States (talk · project pages · random · edits)
{{Wplink-sle}} Subpages List and Edits WikiProject United States (talk · project pages · edits)
{{Wplink-slr}} Subpages List and Random WikiProject United States (talk · project pages · random)
{{Wplink-sl}} Subpages List WikiProject United States (talk · project pages)
{{Wplink-cre}} Category, Random, and Edits WikiProject United States (talk · project cat · random · edits)
{{Wplink-ce}} Category and Edits WikiProject United States (talk · project cat · edits)
{{Wplink-cr}} project Category and Random WikiProject United States (talk · project cat · random)
{{Wplink-c}} project Category WikiProject United States (talk · project cat)
{{Wplink-re}} Random and Edits tool WikiProject United States (talk · random · edits)
{{Wplink-e}} Edits tool WikiProject United States (talk · edits)
{{Wplink-r}} Random project page WikiProject United States (talk · random)
{{Wplink}} just the project and talk links WikiProject United States (talk)
{{Wplink-multi}} MULTIplex WikiProject United States (talk · participants · news · newsletter · new articles · project cat · project pages · random · edits) - only a sample of available subpages.
{{Wplink-monitor}} article MONITORing WikiProject United States (talk · assess · alerts · articles · requests · maint · new articles · activity · stats · edits)