Difference between revisions of "Template:Portal category/doc"
Jump to navigation
Jump to search
test>Frietjes (Removed sitelinks migrated to Wikidata) |
test>Sardanaphalus (Update) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
| − | This template is | + | This template is meant to be placed at the top of pages for categories whose contents are related to [[Wikipedia:Portal|portal]]s (i.e. in Wikipedia's [[Wikipedia:Namespace|portal namespace]]. Their [[Help:Category#Parent category|parent category]] is {{cl|Portals}}. See also [[Wikipedia:Avoid self-references]]. |
| − | {{ | + | == Usage == |
| + | {{Aligned table |style=line-height:1.35em; |col1style=line-height:1.3em;white-space:nowrap;padding-right:1.0em; | ||
| + | | <code>{{((}}Portal category{{))}}</code> | ||
| + | | Default use, producing only the first (blue-backgrounded) of the two message boxes shown above and only the first two sentences within it. | ||
| + | | <code>{{((}}Portal category {{!}}''optional description''{{))}}</code> | ||
| + | | Adds ''optional description'' (a description of the category and/or its associated portal) to the message box. | ||
| + | | <code>{{((}}Portal category {{!}}linkinfo{{))}}</code> | ||
| + | | Adds the second message box describing how {{tl|portal}} may be used to present a link to a portal in an article. | ||
| + | | <code>{{((}}Portal category {{!}}linkinfo{{=}}''name''{{))}}</code> | ||
| + | | Sets the portal ''name'' used in the second message box if the name and/or link provided is incorrect or a different one is desired. | ||
| + | }} | ||
| + | |||
| + | == See also == | ||
| + | {{Other category-header templates}} | ||
<includeonly> | <includeonly> | ||
Revision as of 09:36, 9 July 2014
| File:Edit-copy green.svg | This is a documentation subpage for Template:Portal category. It contains usage information, categories and other content that is not part of the original template page. |
This template is meant to be placed at the top of pages for categories whose contents are related to portals (i.e. in Wikipedia's portal namespace. Their parent category is Category:Portals. See also Wikipedia:Avoid self-references.
Usage
Script error: No such module "aligned table".
See also
Other category-header templates