×
Namespaces

Variants
Actions
(Difference between revisions)

Template:LanguageCategoryPageProxy

From Nokia Developer Wiki
Jump to: navigation, search
hamishwillee (Talk | contribs)
m (Hamishwillee -)
hamishwillee (Talk | contribs)
m (Hamishwillee -)
Line 154: Line 154:
 
notuses={{{notuses|}}}|
 
notuses={{{notuses|}}}|
 
}}
 
}}
|}<!-- end show the "highlights/recent edits/most popular" table -->}}
+
|}<!-- end show the "highlights/recent edits/most popular" table -->}}<!-- List by category section
<!-- List by category section: only displayed if "showbycategories=true"-->
+
: only displayed if "showbycategories=true"
{{#if: {{{showbycategories|}}}|<br />
+
-->{{#if: {{{showbycategories|}}}|<br />
 
== {{#switch: {{{language|}}}   
 
== {{#switch: {{{language|}}}   
 
| Lang-PT
 
| Lang-PT
Line 211: Line 211:
 
uses={{{uses|}}}|
 
uses={{{uses|}}}|
 
notuses={{{notuses|}}}|
 
notuses={{{notuses|}}}|
  }}|}}
+
  }}|}}<!--  
<!-- Code example section: only displayed if there are any code examples -->
+
Code example section: only displayed if there are any code examples  
{{#dpl:
+
-->{{#dpl:
 
namespace={{{namespace|}}}|
 
namespace={{{namespace|}}}|
 
{{#if: {{{7|}}}|category={{{1}}}¦{{{2}}}¦{{{3}}}¦{{{4}}}¦{{{5}}}¦{{{6}}}¦{{{7}}}|
 
{{#if: {{{7|}}}|category={{{1}}}¦{{{2}}}¦{{{3}}}¦{{{4}}}¦{{{5}}}¦{{{6}}}¦{{{7}}}|
Line 276: Line 276:
 
  }}
 
  }}
 
|mode=category
 
|mode=category
}}
+
}}<!--  
<!-- Section below is for articles: Not displayed if there are no articles-->
+
Section below is for articles: Not displayed if there are no articles
 
+
--> {{#dpl:
{{#dpl:
+
 
namespace={{{namespace|}}}|
 
namespace={{{namespace|}}}|
 
{{#if: {{{7|}}}|category={{{1}}}¦{{{2}}}¦{{{3}}}¦{{{4}}}¦{{{5}}}¦{{{6}}}¦{{{7}}}|
 
{{#if: {{{7|}}}|category={{{1}}}¦{{{2}}}¦{{{3}}}¦{{{4}}}¦{{{5}}}¦{{{6}}}¦{{{7}}}|
Line 342: Line 341:
 
  }}
 
  }}
 
|mode=category
 
|mode=category
}}
+
}} <!--  
<!-- Section below is for archived articles: Not displayed if there are no archived-->
+
Section below is for archived articles: Not displayed if there are no archived
  
{{#dpl:
+
-->{{#dpl:
 
namespace=¦Archived¦{{{namespace|}}}|
 
namespace=¦Archived¦{{{namespace|}}}|
 
{{#if: {{{7|}}}|category={{{1}}}¦{{{2}}}¦{{{3}}}¦{{{4}}}¦{{{5}}}¦{{{6}}}¦{{{7}}}|
 
{{#if: {{{7|}}}|category={{{1}}}¦{{{2}}}¦{{{3}}}¦{{{4}}}¦{{{5}}}¦{{{6}}}¦{{{7}}}|

Revision as of 05:25, 8 May 2013

This template creates a "pseudo" category page. It is intended to allow us to create category pages for other languages, without having to use real non-English category names.

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.


Usage

{{LanguageCategoryPageProxy|language=XXX|}}

The parameters are:

  • Un named parameters: categories to display on the page - e.g. Symbian C++. Multiple categories are also possible
  • language: language code for articles to display (e.g. Lang-Portuguese)
  • count: (optional) defines number of items to display in the recently edited and most viewed lists up the top
  • andcategory: (andcategory2 ... 12)
  • notcategory: (notcategory2... 12)
  • showhidden=true: If true, articles in categories Archived, FNWiki and Advertising are shown (hidden by default)
  • uses: Specify the templates that must be in articles in the list .Note that to specify multiple templates use the half pipe - e.g.
uses=Template:KBKI ¦ Template:KBTS ¦ Template:KBCS
  • notuses: Specify the templates that must not be in articles in the list .Note that to specify multiple templates use the half pipe - e.g.
notuses=Template:KBKI ¦ Template:KBTS ¦ Template:KBCS
  • listportals=true: If defined, lists all articles that have title prefix "Portals:" in the current language
  • shrinkleft=true: If defined, makes the first lists shrink left rather than display full width. This then works better with a right aligned lists. May be used in conjunction with listed portals.
  • showbycategories=true : If defined, lists all articles with categories. Usual for "main" category page.
  • hidehighlights=true : If defined, hides the "Most Viewed"/"Recently edited" section on the top. This is useful for archived pages.


Appearance

The default template does ...

{

Code Examples

There are 500 Code Example (Articles with downloadable source code packages).

2

A

B

C

C cont.

D

E

E cont.

F

G

H


Articles

There are 500 Articles (without downloadable source code packages.)

2

3

5

A

A cont.

B

C

C cont.


Archived

There are 500 Archived Articles/Code Examples

A

B

C

C cont.

C cont.

D

E


592 page views in the last 30 days.
×