Difference between revisions of "Category:Portal Link"

From EncyclopAtys

Jump to: navigation, search
m
m
Line 1: Line 1:
 
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).
 
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'''*''').
 
* 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 '''<nowiki>{{Portal|</nowiki>''portal-name''<nowiki>}}</nowiki>'') causes :
+
*The use of these templates (with the syntax <code><nowiki>{{Portal|</nowiki>''portal-name''<nowiki>}}</nowiki></code>) causes :
** the display of the banner within (usually at the bottom) of the article concerned;
+
*# the display of the banner within (usually at the bottom) of the article concerned ;
** 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 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'') ;
+
*# 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 :
+
*# 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''),
+
*#*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 '''[[Special:RandomInCategory|Random page in category]]/Category:''portal-name''''' and '''[[Special:RandomInCategory|Random page in category]]/Category:Portal:''portal-name''/Related articles''')
+
*#*a random draw of an item in each of these categories (via, respectively '''[[Special:RandomInCategory|Random page in category]]/Category:''portal-name''''' and '''[[Special:RandomInCategory|Random page in category]]/Category:Portal:''portal-name''/Related articles''').
  
  

Revision as of 06:09, 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 :
    1. the display of the banner within (usually at the bottom) of the article concerned ;
    2. the categorisation of the article concerned in the category linked to the portal (Category:portal-name') ;
    3. the categorisation of the article concerned in the category grouping all articles like it linked to the portal ('Category:Portal:portal-name/Related articles) ;
    4. 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}}

These models feed the Category:Portal:*/Related articles