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 22:22, 13 September 2007 (edit)
Sandman (Talk | contribs)
m
← Previous diff
Current revision (14:02, 8 March 2008) (edit) (undo)
Sandman (Talk | contribs)
m
 
(9 intermediate revisions not shown.)
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:
<pre> <pre>
name, name,
 +align,
functionmode, functionmode,
category, category,
Line 24: Line 25:
notnamespace, notnamespace,
redirects, redirects,
 +skipthispage,
 +replaceintitle,
</pre> </pre>
</noinclude>{{Navbox </noinclude>{{Navbox
| name = {{{name}}} | name = {{{name}}}
 +| align = {{#if:{{{align|}}}|{{{align}}}|center}}
| list = {{#DPL: | list = {{#DPL:
mode=userformat| mode=userformat|
redirects=include| redirects=include|
- {{#if:{{{redirects|}}} |redirects={{{redirects}}}}}|+ {{#if:{{{redirects|}}}|
- {{#if: {{{functionmode|}}}||format=,[[%PAGE%{{!}}%TITLE%]], ,}}|<!--undef-->+ redirects={{{redirects}}}}}|
- {{#ifeq:{{{functionmode|}}}|false|format=,[[%PAGE%{{!}}%TITLE%]], ,}}|<!--def:flse-->+ {{#if:{{{functionmode|}}}||
- {{#ifeq:{{{functionmode|}}}|true|replaceintitle=/ /,&#95;}}|<!--def:true-->+ format={{Navbox_listseperator}},[[%PAGE%{{!}}%TITLE%]],{{Navbox_listseperator}},}}|
- {{#ifeq:{{{functionmode|}}}|true|format=• ,[[%PAGE%{{!}}%TITLE%]](), • ,}}|<!--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:{{{replaceintitle|}}}|replaceintitle={{{replaceintitle}}}}}|
{{#if:{{{category|}}} |category={{{category}}}}}| {{#if:{{{category|}}} |category={{{category}}}}}|
{{#if:{{{category1|}}} |category={{{category1}}}}}| {{#if:{{{category1|}}} |category={{{category1}}}}}|
Line 48: Line 58:
{{#if:{{{notcategory5|}}} |notcategory={{{notcategory5}}}}}| {{#if:{{{notcategory5|}}} |notcategory={{{notcategory5}}}}}|
{{#if:{{{namespace|}}} |namespace={{{namespace}}}}}| {{#if:{{{namespace|}}} |namespace={{{namespace}}}}}|
- {{#if:{{{notnamespace|}}} |namespace={{{namespace}}}}}|+ {{#if:{{{notnamespace|}}} |notnamespace={{{notnamespace}}}}}|
 + {{#if:{{{skipthispage|}}} |skipthispage={{{skipthispage}}}}}|
}} }}
}}<noinclude> }}<noinclude>
== Example == == Example ==
{| style="width: 100%" {| style="width: 100%"
-| The Network.DLL functions box ([[Template:Netfuncbox]])+| The Functioncategory box ([[Template:Funccatbox]])
<pre> <pre>
{{Dplbox {{Dplbox
| name = Functioncategories | name = Functioncategories
- | namespace = DLL+ | namespace = Functioncategory
| notcategory = dll | notcategory = dll
}} }}

Current revision

[edit] Template

Category box template.

Gives DPL output. Uses DPL.

Variables:

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

[edit] Example

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


Personal tools