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 13:02, 19 September 2007 (edit)
Sandman (Talk | contribs)
m
← Previous diff
Current revision (14:02, 8 March 2008) (edit) (undo)
Sandman (Talk | contribs)
m
 
(5 intermediate revisions not shown.)
Line 8: Line 8:
<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|
Line 40: 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 53: 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>

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