Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Template:SignpostBoxWindowsPhonePortalLinkTile

From Wiki
Jump to: navigation, search

This template is a tile that can be used in any page to link back to its associated portal.

Internal use only.

Underconstruction.pngUnder Construction: This article is under construction and it may have outstanding issues. If you have any comments please use the comments tab.

Intended to be added automatically to pages, this displays portal that links to current page in top right corner. The portal takes a link, colour and icon - the icon is assumed to be the same image as in the associated portal, shrunk from 52px to 45px and centered in the 40px box.

Usage

{{SignpostBoxWindowsPhonePortalLinkTile|named parameter}}

The parameters are:

  • Un named parameters: describe unnamed parameters
  • colour: colour of background tile. Will be named colour or "function" (for series 40)
  • link: portal to link to
  • icon: image file to be displayed inside coloured box. By default this is shrunk to 45px - and we assume standard WP 52px icon is being used.

Optional parameters are:

  • width: width of icon - default is 45px,which works well on standard WP icons in 52px size
  • top: top position of icon relative to its surrounding div. Note that this defaults to negative to shrink the overly big icon to fit into 40px box.
  • left: left position of icon relative to its surrounding div. Note that this defaults to negative to shrink the overly big icon to fit into 40px box.
  • shape: "rounded" - creates a series 40 rounded icon. Default is square

Examples

Appearance

The default template does ...

MultiMediaTile.png
This page was last modified on 17 May 2013, at 11:12.
1187 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×