×
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 - Test, remove files/data link)
Line 24: Line 24:
 
|nottitlematch=%Most Viewed%¦%Recent%¦%Most Recent%¦%Recently Edited%¦%Recently Commented%¦% How to's%¦Sandbox%¦%Code Examples%¦%Code Examples¦%Mais Recentes% ¦%Mais Vistos% ¦%Recentemente Editados%¦%Mais Recentes¦%Recentemente Editados¦%Mais Vistos¦%de todos os exemplos de código
 
|nottitlematch=%Most Viewed%¦%Recent%¦%Most Recent%¦%Recently Edited%¦%Recently Commented%¦% How to's%¦Sandbox%¦%Code Examples%¦%Code Examples¦%Mais Recentes% ¦%Mais Vistos% ¦%Recentemente Editados%¦%Mais Recentes¦%Recentemente Editados¦%Mais Vistos¦%de todos os exemplos de código
 
-->
 
-->
 +
 +
== Tiles defined here ==
 +
{{SignpostBoxWindowsPhonePortalLinkTile|title=Files/Data|link=Portal:Windows Phone Files/Data|icon=WP_Metro_Icon_File.png|colour=brown }}
  
  

Revision as of 10:26, 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")


321 page views in the last 30 days.
×