×
Namespaces

Variants
Actions
(Difference between revisions)

Template:RelatedPortals

From Nokia Developer Wiki
Jump to: navigation, search
hamishwillee (Talk | contribs)
m (Hamishwillee -)
hamishwillee (Talk | contribs)
m (Hamishwillee - Add Files/Data test)
Line 53: Line 53:
 
* Namespace - note only reliable on actual page (is namespace of current page not of specified page) {{NAMESPACE}}
 
* Namespace - note only reliable on actual page (is namespace of current page not of specified page) {{NAMESPACE}}
 
|}}
 
|}}
 +
{{#if: {{isCategory:Files/Data on Windows Phone}}{{isCategory:XML on Windows Phone}}|{{SignpostBoxWindowsPhonePortalLinkTile|title=Files/Data|link=Portal:Windows Phone Files/Data|icon=WP_Metro_Icon_File.png|colour=brown }}|<!-- is not in this category, so do nothing -->}}

Revision as of 10:38, 3 July 2013

This template lists portal pages which link against the current (or specified) page. It is an experimental template for determining if we can get better "related topic" matching than is provided by categories.

Internal use only.

This template uses Template:AddPortalIcon.dpl.default to define the mapping between portal title and icon. Need this because the parserfunction does not seem to be expanded within DPL.


Contents

Usage

{{RelatedPortals|Target page name}}

The parameters are:

  • (optional) The first unnamed parameter is the name of the target page. If not specified, this defaults to the current page.
  • debug: (optional) Forces some debug output.
  • notcategory: (optional) Specify a category like veryunlikelycategory1 to force a refresh.

Examples

{{RelatedPortals|How to get IMEI in Java ME}}


DEBUG: Running query because we are not on Category or Portal page
DEBUG - NO RESULTS

  • first unnamed parameter (title): How to get IMEI in Java ME
  • Full page name: Template:RelatedPortals
  • titleparts full page name: Template:RelatedPortals
  • Links to: How to get IMEI in Java ME
  • Namespace - note only reliable on actual page (is namespace of current page not of specified page) Template


Tiles defined here

WP Metro Icon File.png


Appearance

Default use on this page (should be "nothing")



85 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.

×