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 14:20, 13 November 2007 (edit)
Sandman (Talk | contribs)
m
← Previous diff
Current revision (14:02, 8 March 2008) (edit) (undo)
Sandman (Talk | contribs)
m
 
(4 intermediate revisions not shown.)
Line 8: Line 8:
<pre> <pre>
name, name,
 +align,
functionmode, functionmode,
category, category,
Line 25: Line 26:
redirects, redirects,
skipthispage, 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|
Line 41: Line 44:
{{#ifeq:{{{functionmode|}}}|true| {{#ifeq:{{{functionmode|}}}|true|
replaceintitle=/ /,&#95;}}| replaceintitle=/ /,&#95;}}|
 + {{#if:{{{replaceintitle|}}}|replaceintitle={{{replaceintitle}}}}}|
{{#if:{{{category|}}} |category={{{category}}}}}| {{#if:{{{category|}}} |category={{{category}}}}}|
{{#if:{{{category1|}}} |category={{{category1}}}}}| {{#if:{{{category1|}}} |category={{{category1}}}}}|
Line 54: 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|}}} |namespace={{{skipthispage}}}}}|+ {{#if:{{{skipthispage|}}} |skipthispage={{{skipthispage}}}}}|
}} }}
}}<noinclude> }}<noinclude>

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