Şablon:Related portals 2

[bıvurne] Dokumantasyon


Purpose

bıvurne

This is a helper template used to simplify the coding of the {{Related portals}} template. It is unlikely to be of any use elsewhere.

Because the unnamed parameters of {{Related portals}} are passed down here as named parameters, any leading and trailing white space is automatically stripped.

  • first - Pass "1" when creating the first (leftmost) portal link, blank otherwise
  • call - Pass "1" to output the portal image, "2" to output the text label underneath
  • portalcount - The number of portals in the line of links; used to set the cell width
  • image - The name of an image file; if blank then a default image will be used instead
  • size - The image size; defaults to 60x60px which seems about right
  • portalname - The name of the portal page to be linked to. Do not pass the "Portal:" prefix

See also

bıvurne
Main portal creation templates -
Main portal page formatting templates -
Templates that configure links -
These templates are used to format the articles on the sub-pages -
Related templates