This wiki is out of date, use the continuation of this wiki instead

Template:Namespacebox

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 20:56, 13 September 2007 (edit)
Sandman (Talk | contribs)
m
← Previous diff
Current revision (12:59, 19 September 2007) (edit) (undo)
Sandman (Talk | contribs)
m
 
(3 intermediate revisions not shown.)
Line 4: Line 4:
Add namespaces to this box and it will show the pages in those namespaces. Uses DPL. Add namespaces to this box and it will show the pages in those namespaces. Uses DPL.
 +
 +Variables:
<pre> <pre>
name, name,
functionmode, functionmode,
namespace, namespace,
-namespace1, 
-namespace2, 
-namespace3, 
-namespace4, 
-namespace5, 
-namespace6, 
-namespace7, 
-namespace8, 
-namespace9, 
-namespace10, 
-namespace11, 
-namespace12, 
-namespace13, 
-namespace14, 
-namespace15, 
-namespace16, 
-namespace17, 
-namespace18, 
-namespace19, 
-namespace20 
</pre> </pre>
</noinclude>{{Navbox </noinclude>{{Navbox
| name = {{{name}}} | name = {{{name}}}
| list = {{#DPL: | list = {{#DPL:
- mode=userformat| 
redirects=include| redirects=include|
- {{#if: {{{functionmode|}}}| |format=,[[%PAGE%{{!}}%TITLE%]], ,}}|<!--undef-->+ mode=userformat|
- {{#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:{{{namespace|}}} |namespace={{{namespace}}}}}| {{#if:{{{namespace|}}} |namespace={{{namespace}}}}}|
- {{#if:{{{namespace1|}}} |namespace={{{namespace1}}}}}| 
- {{#if:{{{namespace2|}}} |namespace={{{namespace2}}}}}| 
- {{#if:{{{namespace3|}}} |namespace={{{namespace3}}}}}| 
- {{#if:{{{namespace4|}}} |namespace={{{namespace4}}}}}| 
- {{#if:{{{namespace5|}}} |namespace={{{namespace5}}}}}| 
- {{#if:{{{namespace6|}}} |namespace={{{namespace6}}}}}| 
- {{#if:{{{namespace7|}}} |namespace={{{namespace7}}}}}| 
- {{#if:{{{namespace8|}}} |namespace={{{namespace8}}}}}| 
- {{#if:{{{namespace9|}}} |namespace={{{namespace9}}}}}| 
- {{#if:{{{namespace10|}}} |namespace={{{namespace10}}}}}| 
- {{#if:{{{namespace11|}}} |namespace={{{namespace11}}}}}| 
- {{#if:{{{namespace12|}}} |namespace={{{namespace12}}}}}| 
- {{#if:{{{namespace13|}}} |namespace={{{namespace13}}}}}| 
- {{#if:{{{namespace14|}}} |namespace={{{namespace14}}}}}| 
- {{#if:{{{namespace15|}}} |namespace={{{namespace15}}}}}| 
- {{#if:{{{namespace16|}}} |namespace={{{namespace16}}}}}| 
- {{#if:{{{namespace17|}}} |namespace={{{namespace17}}}}}| 
- {{#if:{{{namespace18|}}} |namespace={{{namespace18}}}}}| 
- {{#if:{{{namespace19|}}} |namespace={{{namespace19}}}}}| 
- {{#if:{{{namespace20|}}} |namespace={{{namespace20}}}}}| 
}} }}
}}<noinclude> }}<noinclude>

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
}}
DLL's
Explosion.DLLGUI.DLLImage.DLLLCD.DLLLog.dllMPEG.DLLMixer.DLLNetwork.DLLTTF.DLL


Personal tools