Şablon:Ports/doc

Wikipediya, ensiklopediya xosere ra

This template creates a floating box with up to 60 links to Wikipedia portals.

Usage[çımeyi bıvurne]

The complete syntax for this template is:

{{Ports|portal1|...|portal60|align=|border-c=|border-w=|color=|width=}}

Parameters[çımeyi bıvurne]

  • |portal1|...|portal60| are up to 60 optional Wikipedia portal base names.
    • |newcol| will begin a new column of portal links.
  • align= an optional alignment parameter for the floating boxes.
    • align=left
    • align=right (default)
  • border-c= an optional border color parameter.
    • border-c=#60609f (default)
  • border-w= an optional border width parameter in pixels.
    • border-w=1 (default)
  • color= an optional background color parameter.
    • color=#f9f9ec (default)
  • width= an optional maximum width parameter in pixels for the Wikipedia portal link box.
    • width=600 (default)

This template employs the image links in directory Template:Portal/Images. Images are resized to fit a 36x24px window. Images significantly taller or wider than 3:2 will appear quite narrow. All images are centered in their window, and all links are equally spaced.

Notes[çımeyi bıvurne]

This template does not display links to Wikipedia portals that do not yet exist. This simplifies maintenance because new links appear instantly when the portals are created.

The See also section of a Wikipedia article may need to be preceded by, and/or terminate with, a {{clear}} template to avoid running into other sections.

Examples[çımeyi bıvurne]


{{ports|Ohio}} creates:


{{ports|align=left|Africa|Democratic Republic of the Congo|Republic of the Congo}} creates:


{{ports|Wide image|3:2 aspect image|Tall image}} creates:


{{ports|align=left|border-c=red|border-w=2|color=white|Alberta|British Columbia|Manitoba|New Brunswick|Newfoundland and Labrador|Northwest Territories|Nova Scotia|Nunavut|Ontario|Prince Edward Island|Quebec|Saskatchewan|Yukon}} creates:


{{ports|European Union|Austria|Belgium|Bulgaria|Czech Republic|Cyprus|Denmark|Estonia|Finland|France |newcol|Germany|Greece|Hungary|Ireland|Italy|Latvia|Lithuania|Luxembourg|Malta|Netherlands |newcol|Poland|Portugal|Romania|Slovakia|Slovenia|Spain|Sweden|United Kingdom}} creates:


See also[çımeyi bıvurne]