- This wiki is out of date, use the continuation of this wiki instead
 
Template:Namespacebox
From FenixWiki
(Difference between revisions)
												
			
			| Revision as of 00:12, 14 September 2007 (edit) Sandman (Talk | contribs) m ← Previous diff  | 
				Current revision (12:59, 19 September 2007) (edit) (undo) Sandman (Talk | contribs) m  | 
			||
| Line 14: | Line 14: | ||
| | name = {{{name}}} | | name = {{{name}}} | ||
| | list = {{#DPL: | | list = {{#DPL: | ||
| - | mode=userformat| | ||
| redirects=include| | redirects=include| | ||
| - |             {{#if:  {{{functionmode|}}}|  | + | mode=userformat| | 
| - |             {{#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:{{{namespace|}}} |namespace={{{namespace}}}}}| | {{#if:{{{namespace|}}} |namespace={{{namespace}}}}}| | ||
| }} | }} | ||
Current revision
[edit] Template
Namespace box template.
Add namespaces to this box and it will show the pages in those namespaces. Uses DPL.
Variables:
name, functionmode, namespace,
| {{{name}}} | 
[edit] Example
 The DLL's box (Template:Dllbox)
{{Namespacebox
  | name = DLL's
  | namespace = DLL
}}
 | 
  | |||
