- This wiki is out of date, use the continuation of this wiki instead
Template:Dplbox
From FenixWiki
(Difference between revisions)
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. | ||
- | + | Gives DPL output. Uses DPL. | |
Variables: | Variables: | ||
Line 30: | Line 30: | ||
mode=userformat| | mode=userformat| | ||
redirects=include| | redirects=include| | ||
- | {{#if:{{{redirects|}}} | + | {{#if:{{{redirects|}}}| |
- | {{#if: | + | redirects={{{redirects}}}}}| |
- | {{#ifeq:{{{functionmode|}}}|false|format={{ | + | {{#if:{{{functionmode|}}}|| |
- | {{#ifeq:{{{functionmode|}}}|true| | + | format={{Navbox_listseperator}},[[%PAGE%{{!}}%TITLE%]],{{Navbox_listseperator}},}}| |
- | + | {{#ifeq:{{{functionmode|}}}|false| | |
+ | format={{Navbox_listseperator}},[[%PAGE%{{!}}%TITLE%]],{{Navbox_listseperator}},}}| | ||
+ | {{#ifeq:{{{functionmode|}}}|true| | ||
+ | format={{Navbox_listseperator}},[[%PAGE%{{!}}%TITLE%]](),{{Navbox_listseperator}},}}| | ||
+ | {{#ifeq:{{{functionmode|}}}|true| | ||
+ | replaceintitle=/ /,_}}| | ||
{{#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 }} |
|