|
|
Line 16: |
Line 16: |
| {{Portal Wikipatys}} | | {{Portal Wikipatys}} |
| | | |
− | These models feed the ''Category:Portal:*/Related articles''
| + | This model feeds the ''[[:Category:Portal:X-files/Wikipatys/Related articles|Category:Portal:X-files/Wikipatys/Related articles]]'' |
| | | |
| [[Category: Templates]] | | [[Category: Templates]] |
Revision as of 06:19, 31 May 2020
This category includes all the models of banner that an article displays to refer to the portal (or one of the portals) where it is presented and/or referenced (linked).
- These models are named Portal portal-name or portal-name is the name of the portal (or sub-portal) to which they refer (Portal:portal-name*).
- The use of these templates (with the syntax
{{Portal|portal-name}}
) causes :
- the display of the banner within (usually at the bottom of) the concerned article ;
- the categorisation of the article concerned in the category linked to the portal (Category:portal-name') ;
- the categorisation of the article concerned in the category grouping all articles like it linked to the portal (Category:Portal:portal-name/Related articles) ;
- As a result, it is possible to enhance each portal :
- with the number of articles of each of these categories (via the Model:Number of pages),
- a random draw of an item in each of these categories (via, respectively Random page in category/Category:portal-name and Random page in category/Category:Portal:portal-name/Related articles).
NB: In order to ensure the regular operation of the models, when the banner refers to a sub-portal, ''portal-name is in fact the name of the portal tab under which the sub-portal in question is displayed, thanks to the redirection from Portal:tab-name to Portal:portal-name/tab-name.
Example: {{Portal Wikipatys}}
This model feeds the Category:Portal:X-files/Wikipatys/Related articles
Pages in category "Portal Link"
The following 49 pages are in this category, out of 49 total.