×
Namespaces

Variants
Actions
(Difference between revisions)

Template:LanguageCategoryPageProxy

From Nokia Developer Wiki
Jump to: navigation, search
hamishwillee (Talk | contribs)
m (Hamishwillee - Add placeholder for Japanese and Chinese strings)
hamishwillee (Talk | contribs)
m (Hamishwillee - See if minor textual changes fix template for russian case)
Line 31: Line 31:
 
| Lang-RU
 
| Lang-RU
 
| Lang-Russian = Недавно измененные и наиболее популярные
 
| Lang-Russian = Недавно измененные и наиболее популярные
 
 
| Lang-CN
 
| Lang-CN
 
| Lang-Chinese = Recently Edited and Most Viewed
 
| Lang-Chinese = Recently Edited and Most Viewed
 
 
| Lang-JP
 
| Lang-JP
 
| Lang-Japanese = Recently Edited and Most Viewed
 
| Lang-Japanese = Recently Edited and Most Viewed
Line 46: Line 44:
 
| Lang-RU
 
| Lang-RU
 
| Lang-Russian = Недавно измененные
 
| Lang-Russian = Недавно измененные
 
 
| Lang-CN
 
| Lang-CN
 
| Lang-Chinese = Recently Edited
 
| Lang-Chinese = Recently Edited
 
 
| Lang-JP
 
| Lang-JP
 
| Lang-Japanese = Recently Edited
 
| Lang-Japanese = Recently Edited
Line 100: Line 96:
 
| Lang-Portuguese = Mais acessados
 
| Lang-Portuguese = Mais acessados
 
| Lang-RU
 
| Lang-RU
| Lang-Russian= Наиболее популярные
+
| Lang-Russian = Наиболее популярные
 
+
 
| Lang-CN
 
| Lang-CN
 
| Lang-Chinese = Most Viewed
 
| Lang-Chinese = Most Viewed
Line 204: Line 199:
 
  | Lang-Portuguese = <h2>Exemplos de código</h2>Esta página tem %PAGES% exemplos de código
 
  | Lang-Portuguese = <h2>Exemplos de código</h2>Esta página tem %PAGES% exemplos de código
 
  | Lang-RU
 
  | Lang-RU
  | Lang-Russian= <h2>Примеры кода</h2>В категории %PAGES% приме ров кода
+
  | Lang-Russian = <h2>Примеры кода</h2>В категории %PAGES% приме ров кода
 
+
 
  | Lang-CN
 
  | Lang-CN
 
  | Lang-Chinese = <h2>Code Examples</h2>There are %PAGES% Code Examples
 
  | Lang-Chinese = <h2>Code Examples</h2>There are %PAGES% Code Examples
Line 265: Line 259:
 
{{#ifeq: {{{showhidden|}}}|true||notcategory=Advertising}}|
 
{{#ifeq: {{{showhidden|}}}|true||notcategory=Advertising}}|
 
{{#ifeq: {{{showhidden|}}}|true||notcategory=Archived}}|
 
{{#ifeq: {{{showhidden|}}}|true||notcategory=Archived}}|
 
 
{{#if: {{{uses|}}}|uses={{{uses}}}|}}|
 
{{#if: {{{uses|}}}|uses={{{uses}}}|}}|
 
{{#if: {{{notuses|}}}|notuses={{{notuses}}}|}}|
 
{{#if: {{{notuses|}}}|notuses={{{notuses}}}|}}|
Line 272: Line 265:
 
  | Lang-Portuguese = <h2>Artigos</h2>Esta página tem %PAGES% artigos  
 
  | Lang-Portuguese = <h2>Artigos</h2>Esta página tem %PAGES% artigos  
 
  | Lang-RU
 
  | Lang-RU
  | Lang-Russian= <h2>Статьи</h2>В категории %PAGES% стат ей
+
  | Lang-Russian = <h2>Статьи</h2>В категории %PAGES% стат ей
 
+
 
  | Lang-CN
 
  | Lang-CN
 
  | Lang-Chinese = <h2>Articles</h2>There are %PAGES% Articles
 
  | Lang-Chinese = <h2>Articles</h2>There are %PAGES% Articles
Line 286: Line 278:
 
{{InfoBoxRightHandSide|title={{#switch:{{{language|}}}   
 
{{InfoBoxRightHandSide|title={{#switch:{{{language|}}}   
 
  | Lang-PT
 
  | Lang-PT
  | Lang-Portuguese =Outros portais
+
  | Lang-Portuguese = Outros portais
 
  | Lang-RU
 
  | Lang-RU
  | Lang-Russian=Other Portals
+
  | Lang-Russian = Other Portals
 
+
 
  | Lang-CN
 
  | Lang-CN
 
  | Lang-Chinese = Other Portals
 
  | Lang-Chinese = Other Portals
Line 295: Line 286:
 
  | Lang-Japanese = Other Portals
 
  | Lang-Japanese = Other Portals
 
  | #default =Other Portals
 
  | #default =Other Portals
  }}|text=
+
  }}
 +
|text=
 
<toggledisplay showtext="show" hidetext="hide" status="hide">
 
<toggledisplay showtext="show" hidetext="hide" status="hide">
 
{{#dpl:
 
{{#dpl:

Revision as of 07:03, 25 July 2011

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.

Appearance

The default template does ...

Recently Edited and Most Viewed

Recently Edited

Most Viewed


Code Examples

There are 500 Code Examples

2

A

B

C

C cont.

D

E

E cont.

F

G

H


Articles

There are 500 Articles

2

3

5

A

A cont.

B

C

C cont.


335 page views in the last 30 days.
×