Vorlage:Portal-image/doc

Aus Dornheim Anatomy
< Vorlage:Portal-image
Version vom 10. Juni 2020, 12:27 Uhr von Becher (Diskussion | Beiträge) (1 Version importiert)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu:Navigation, Suche

{{#invoke:Message box|mbox}} {{#invoke:Lua banner|main}} Portal-image is used to produce an inline image to a portal, with or without a link to the portal's page through the image.

Usage

{{Portal-image|portal name|size=tiny|link=yes or no}}

Note: |size= and |link= are optional.

Parameters

  • |1= The name of the portal
  • |size= The size of the image
  • If set to tiny, produces an image that is as tall as a line of text: [[File:{{#invoke:portal|image|science}}|class=noviewer|16x16px|link=Portal:science]]
  • |link= Whether or not the image links to the portal
  • Default: yes
  • To make the image not link to the portal, set to any no value (no, n, off, false, etc.)

Examples

  • {{#invoke:Demo|inline}}
  • {{#invoke:Demo|inline}}
  • {{#invoke:Demo|inline}}
  • {{#invoke:Demo|inline}}

Tiny in text

Lorem ipsum dolor sit amet, consectetur adipiscing elit [[File:{{#invoke:portal|image|language}}|class=noviewer|16x16px|link=Portal:language]], sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

See also

{{#invoke:Navbar|navbar}} Portal content templates

Main portal page formatting templates

{{#invoke:Check for unknown parameters|check|unknown=|preview=Page using Template:Div col with unknown parameter "_VALUE_"; use colwidth= to specify column size |ignoreblank=y | colwidth | content | gap | rules | small | style }}

Templates that configure links

{{#invoke:Check for unknown parameters|check|unknown=|preview=Page using Template:Div col with unknown parameter "_VALUE_"; use colwidth= to specify column size |ignoreblank=y | colwidth | content | gap | rules | small | style }}

Selected page templates, used on subpages of older portals

{{#invoke:Check for unknown parameters|check|unknown=|preview=Page using Template:Div col with unknown parameter "_VALUE_"; use colwidth= to specify column size |ignoreblank=y | colwidth | content | gap | rules | small | style }}

Related templates

{{#invoke:Navbox|navbox}}