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

Template:Catbox

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 23:13, 12 September 2007 (edit)
Sandman (Talk | contribs)
m
← Previous diff
Current revision (12:57, 19 September 2007) (edit) (undo)
Sandman (Talk | contribs)
m
 
(17 intermediate revisions not shown.)
Line 4: Line 4:
Add categories to this box and it will show the pages in those categories. Uses DPL. Add categories to this box and it will show the pages in those categories. Uses DPL.
 +
 +Variables:
 +<pre>
 +name,
 +functionmode,
 +category,
 +category1,
 +category2,
 +category3,
 +category4,
 +category5,
 +category6,
 +category7,
 +category8,
 +category9,
 +category10,
 +category11,
 +category12,
 +category13,
 +category14,
 +category15,
 +category16,
 +category17,
 +category18,
 +category19,
 +category20,
 +</pre>
</noinclude>{{Navbox </noinclude>{{Navbox
| name = {{{name}}} | name = {{{name}}}
| list = {{#DPL: | list = {{#DPL:
 + redirects=include|
mode=userformat| mode=userformat|
- {{#if:{{{functionmode|}}}|replaceintitle=/ /,&#95;}}|+ {{#if: {{{functionmode|}}}||
- {{#if:{{{functionmode|}}}|format=,[[a{{!}}%TITLE%]](), ,}}|+ format={{Navbox_listseperator}},[[%PAGE%{{!}}%TITLE%]],{{Navbox_listseperator}},}}|
- {{#if:{{{functionmode|}}}||format=,[[%PAGE%{{!}}%TITLE%]], ,}}|+ {{#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:{{{category|}}} |category={{{category}}}}}| {{#if:{{{category|}}} |category={{{category}}}}}|
{{#if:{{{category1|}}} |category={{{category1}}}}}| {{#if:{{{category1|}}} |category={{{category1}}}}}|

Current revision

[edit] Template

Category box template.

Add categories to this box and it will show the pages in those categories. Uses DPL.

Variables:

name,
functionmode,
category,
category1,
category2,
category3,
category4,
category5,
category6,
category7,
category8,
category9,
category10,
category11,
category12,
category13,
category14,
category15,
category16,
category17,
category18,
category19,
category20,
{{{name}}}

[edit] Example

The Network.DLL functions box (Template:Netfuncbox)
{{Catbox
  | name = Network.DLL Functions
  | category = networkdll
  | category1 = functions
  | functionmode = true
}}
Network.DLL Functions
NET_About() • NET_Connect() • NET_Disconnect() • NET_DisconnectAll() • NET_GetError() • NET_GetSeparator() • NET_GetSeparatorLength() • NET_Hostname() • NET_IPAddress() • NET_IPToInt() • NET_Init() • NET_IntToIP() • NET_IntVersion() • NET_Listen() • NET_Port() • NET_Quit() • NET_Recv() • NET_RecvFile() • NET_RecvGraph() • NET_RecvVar() • NET_Resolve() • NET_Send() • NET_SendFile() • NET_SendGraph() • NET_SendRN() • NET_SendVar() • NET_Separator() • NET_Stat_Buffer() • NET_Version() •


Personal tools