This wiki is out of date, use the continuation of this wiki instead

Template:Dplbox

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 00:10, 14 September 2007 (edit)
Sandman (Talk | contribs)
m
← Previous diff
Revision as of 13:02, 19 September 2007 (edit) (undo)
Sandman (Talk | contribs)
m
Next diff →
Line 3: Line 3:
Category box template. Category box template.
-Add categories to this box and it will show the pages in those categories. Uses DPL.+Gives DPL output. Uses DPL.
Variables: Variables:
Line 30: Line 30:
mode=userformat| mode=userformat|
redirects=include| redirects=include|
- {{#if:{{{redirects|}}} |redirects={{{redirects}}}}}|+ {{#if:{{{redirects|}}}|
- {{#if: {{{functionmode|}}}||format={{Navbox_listseperator_endelement}} ,[[%PAGE%{{!}}%TITLE%]], {{Navbox_listseperator_endelement}} ,}}|<!--undef-->+ redirects={{{redirects}}}}}|
- {{#ifeq:{{{functionmode|}}}|false|format={{Navbox_listseperator_endelement}} ,[[%PAGE%{{!}}%TITLE%]], {{Navbox_listseperator_endelement}} ,}}|<!--def:flse-->+ {{#if:{{{functionmode|}}}||
- {{#ifeq:{{{functionmode|}}}|true|replaceintitle=/ /,&#95;}}|<!--def:true-->+ format={{Navbox_listseperator}},[[%PAGE%{{!}}%TITLE%]],{{Navbox_listseperator}},}}|
- {{#ifeq:{{{functionmode|}}}|true|format={{Navbox_listseperator_endelement}} ,[[%PAGE%{{!}}%TITLE%]](), {{Navbox_listseperator_endelement}} ,}}|<!--def:tru-->+ {{#ifeq:{{{functionmode|}}}|false|
 + format={{Navbox_listseperator}},[[%PAGE%{{!}}%TITLE%]],{{Navbox_listseperator}},}}|
 + {{#ifeq:{{{functionmode|}}}|true|
 + format={{Navbox_listseperator}},[[%PAGE%{{!}}%TITLE%]](),{{Navbox_listseperator}},}}|
 + {{#ifeq:{{{functionmode|}}}|true|
 + replaceintitle=/ /,&#95;}}|
{{#if:{{{category|}}} |category={{{category}}}}}| {{#if:{{{category|}}} |category={{{category}}}}}|
{{#if:{{{category1|}}} |category={{{category1}}}}}| {{#if:{{{category1|}}} |category={{{category1}}}}}|

Revision as of 13:02, 19 September 2007

Template

Category box template.

Gives DPL output. Uses DPL.

Variables:

name,
functionmode,
category,
category1,
category2,
category3,
category4,
category5,
notcategory,
notcategory1,
notcategory2,
notcategory3,
notcategory4,
notcategory5,
namespace,
notnamespace,
redirects,
{{{name}}}

Example

The Functioncategory box (Template:Funccatbox)
{{Dplbox
  | name = Functioncategories
  | namespace = Functioncategory
  | notcategory = dll
}}
Functioncategories
BlendopsCDControlpointsDebugDrawingFilesFontsFpgGraphical effectsJoystickMapsMathMemoryPalettesPathfindProcessinteractionPrograminteractionRegionsScreenScrollsSortingSoundStringsTextsTime


Personal tools