×
Namespaces

Variants
Actions
(Difference between revisions)

Template:LanguageCategoryPageProxy

From Nokia Developer Wiki
Jump to: navigation, search
hamishwillee (Talk | contribs)
m (Hamishwillee - Remove the introductory link)
hamishwillee (Talk | contribs)
(Hamishwillee - Move "Featured" Tab to the end.)
 
(2 intermediate revisions by 2 users not shown)
Line 44: Line 44:
 
{{#tag:tabber|<!--  
 
{{#tag:tabber|<!--  
  
Featured
+
Recently Edited
  
 
-->{{ListRecentlyEdited
 
-->{{ListRecentlyEdited
 
|tab=true
 
|tab=true
|heading=Featured
 
 
|showhidden={{{showhidden|false}}}
 
|showhidden={{{showhidden|false}}}
 
|count={{{count|15}}}
 
|count={{{count|15}}}
Line 88: Line 87:
 
notcategory20={{{notcategory20|}}}|
 
notcategory20={{{notcategory20|}}}|
 
uses={{{uses|}}}|
 
uses={{{uses|}}}|
uses=Template:FeaturedArticle|
 
 
notuses={{{notuses|}}}|
 
notuses={{{notuses|}}}|
}}<!--  
+
}}<!--
  
Recently Edited
+
Most viewed
  
-->{{ListRecentlyEdited
+
-->{{ListMostViewed
 
|tab=true
 
|tab=true
 
|showhidden={{{showhidden|false}}}
 
|showhidden={{{showhidden|false}}}
Line 133: Line 131:
 
notcategory18={{{notcategory18|}}}|  
 
notcategory18={{{notcategory18|}}}|  
 
notcategory19={{{notcategory19|}}}|  
 
notcategory19={{{notcategory19|}}}|  
notcategory20={{{notcategory20|}}}|
+
notcategory20={{{notcategory20|}}}|
 
uses={{{uses|}}}|
 
uses={{{uses|}}}|
 
notuses={{{notuses|}}}|
 
notuses={{{notuses|}}}|
}}<!--
+
}}<!--  
  
Most viewed
+
Newest
  
-->{{ListMostViewed
+
-->{{ListRecentlyCreated
 
|tab=true
 
|tab=true
 
|showhidden={{{showhidden|false}}}
 
|showhidden={{{showhidden|false}}}
Line 184: Line 182:
 
}}<!--  
 
}}<!--  
  
Newest
+
Featured
  
-->{{ListRecentlyCreated
+
-->{{ListRecentlyEdited
 
|tab=true
 
|tab=true
 +
|heading=Featured
 
|showhidden={{{showhidden|false}}}
 
|showhidden={{{showhidden|false}}}
 
|count={{{count|15}}}
 
|count={{{count|15}}}
Line 225: Line 224:
 
notcategory18={{{notcategory18|}}}|  
 
notcategory18={{{notcategory18|}}}|  
 
notcategory19={{{notcategory19|}}}|  
 
notcategory19={{{notcategory19|}}}|  
notcategory20={{{notcategory20|}}}|
+
notcategory20={{{notcategory20|}}}|
 
uses={{{uses|}}}|
 
uses={{{uses|}}}|
 +
uses=Template:FeaturedArticle|
 
notuses={{{notuses|}}}|
 
notuses={{{notuses|}}}|
 
}}<!-- end of tabber -->}}<!-- end of tabber -->
 
}}<!-- end of tabber -->}}<!-- end of tabber -->
Line 1,206: Line 1,206:
 
{{#ifeq: completed|{{#dpl:|namespace=|count=1|format=completed,,,}}|<!-- completed -->|{{Tip|Please refresh the page if expected lists/tabs are missing.}} }}<!--
 
{{#ifeq: completed|{{#dpl:|namespace=|count=1|format=completed,,,}}|<!-- completed -->|{{Tip|Please refresh the page if expected lists/tabs are missing.}} }}<!--
 
Add Subcategories info box for category pages only
 
Add Subcategories info box for category pages only
-->{{#ifeq:{{NAMESPACE}}|Category|
+
-->{{#ifeq:{{NAMESPACE}}|Category| __COLLAPSESUBCATEGORIES__
 
{{InfoBoxRightHandSide||title={{#switch: {{{language|}}}   
 
{{InfoBoxRightHandSide||title={{#switch: {{{language|}}}   
 
  | Lang-Portuguese =Subcategories
 
  | Lang-Portuguese =Subcategories

Latest revision as of 06:57, 14 February 2014

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.


[edit] 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)
  • platformfilter: Filters topics on the categories associated with the platform - values are:-Windows Phone, Java ME
  • 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.
  • notheadlines=true : Hides the headline section (and DPL is not executed) - recent edits, most viewed, newest. Note, these would also be hidden if empty
  • addplatforms=true : Adds a section displaying the topics in the main platforms (Windows Phone, Nokia Asha, Symbian Meego).
    • notplatform-asha=true : If platforms have been enabled, this disables the portal for Nokia Asha - used if Asha portal already exists and has been displayed
    • notplatform-symbian=true : If platforms have been enabled, this disables the portal for Symbian - used if Symbian portal already exists and has been displayed
    • notplatform-meego=true : If platforms have been enabled, this disables the portal for MeeGo - used if meego portal already exists
    • notplatform-windowsphone=true : If platforms have been enabled, this disables the portal for Windows Phone - used if WP portal already exists
  • addhighlightnewest=true : Adds a list containing the newest articles
  • addtab-arabic: Forces DPL to run to create an arabic tab if addtab-arabic is defined
  • arab: Forces DPL to run to create a bahasa indonesia tab if value is defined

[edit] Appearance

The default template does ...


Articles

2

3

5

A

A cont.

B

B cont.

C

A

B

C

C cont.

D

E

F

G

H

I

J

J cont.

L

M

N

O

P

Q

R

S

T

U

V

W

,

1

2

3

6

A

B

C

D

E

F

G

H

I

J

L

M

N

O

P

Q

R

S

S cont.

T

U

V

W

X

@

A

B

C

D

E

F

G

H

J

M

O

P

Q

R

S

T

U

V

А

Б

В

Г

Д

З

И

К

Л

М

О

О cont.

П

Р

С

Т

У

Ф

Э

A

B

C

D

E

H

I

J

L

M

M cont.

N

O

P

R

S

T

U

W

W cont.

أ

ا

ب

ت

ش

ك

و

A

A cont.

A cont.

This page was last modified on 14 February 2014, at 06:57.
490 page views in the last 30 days.
×