Template:Portal-link

From the Tesseract Wiki, the wiki for all things Marvel Cinematic Universe
Jump to navigation Jump to search
Template documentation
This documentation is transcluded from Template:Portal-link/doc. [edit] [history] [purge]

This template creates a clickable "tile". It is used in conjunction with Template:Portal-links.

Usage

{{Portal-link|text to be displayed|optional page link|class=optional class|file=optional file to display before link|filesize=override to file size}}

Available classes are listed below:

  • Coloring:
    • none (default)
    • article
    • file
    • template
  • Width:
    • none (default)
    • wide
    • compact

Example

{{Portal-link|Captain America|Steve Rogers}}

Produces plain styling:


{{Portal-link|Captain America|Steve Rogers|class=article wide}}

Produces wide styling:

Captain America


{{Portal-link|Stark Industries|class=compact file}}

Produces styling with colors that match file messageboxes:


{{Portal-link|Stark Industries|file=Stark Industries.png|class=article}}

Add an image before the text:

Stark Industries.pngStark Industries

By default filesize is 35x35px, but that can be changed if necessary. The file is automatically set to frameless, so it will not be increased in size.