Similar templates at English sister projects [edit]
wpd Wikipedia Catlst
cms Commons Catlst
wbk Wikibooks Catlst
wsp Wikispecies Catlst
wvy Wikiversity Catlst
Active content hidden above
--Template generates error message when given no input.
See whatlinkshere (commons / Wikipedia) and usage for appearance.

Version at-a-glance:

Ver: 4d
source: Wikipedia, (m) remove "big change alert messages", (m) add inline comments to "better group" logic of lead code into clearly separated lines for clarity. (m) Ensuring no Parameters biasing output modes. (weren't) // FrankB 20:50, 19 August 2008 (UTC)

Option parameters for [[Template:Catlst]]:

  • This is the original working template which builds the links and output strings for other 'filter templates' (which do the options 'typing') and is comparable to {{catlist}}, the difference being this one generates a comma separated (delimited) list format (the original 'catlst' format, as it happens), and 'catlist' was changed to a bulleted list output format per request and feedback.
details

Parameters are presented and evaluated in the following order to construct an string of links to categories: {{{PRE}}}{{{LABEL}}}{{{POST}}} ← "the list of {{{SISTER}}} prefixed categories" → {{{END}}}

These also shown below with their default values, but some general details:

  1. PRE -- by default: indents and italicizes the string leading words
  2. POST -- by default: Formats from the end of those to the end of the list of categories being linked
  3. END -- by default: Terminates the string, and forces a newline.
  4. by default: the lead is italics, and the list of categories is not, nor bold or other HTML effect.
  5. CALLEDBY -- is a pass parameter for when the template is called as a subtemplate of another, a front end template like {{catlist-up}}. It's purpose and effect is related to proper error message generation.
{{{PRE|}}}{{{ LABEL|Categories:}}}{{{ POST|}}} [[{{{ SISTER|:}}}Category: {{{ 1}}}|{{{ 1}}}]] 
|<!--elseB:-->{{{ LABEL|Category:}}}{{{ POST|}}} [[{{{ SISTER|:}}}Category: {{{ 1}}}|{{{ 1}}}]]
|<!--else1:-->Editing error: '''No input parameter given''' ''in template'' {{tl|{{{ CALLEDBY|catlist}}}}}
}}<!--
-->{{#if:{{{ 2|}}} |<!--then2:-->{{#if:{{{ 3|}}} |<!--then3:-->, |<!--else3:--> and <!--
--end#if3:-->}} [[{{{ SISTER|:}}}Category: {{{ 2}}}|{{{ 2 }}}]]<!--
--end#if2:-->}}

{{catlst/doc}}



Option parameters for [[template:Cms-catlst]]:

Cms-catlist and Wpd-catlist call the {{catlist}} template, which is the second working template which builds the links and output strings for other 'filter templates' (which do the options 'typing') and is comparable to {{catlst}}, the difference being this one generates a comma separated (delimited) list format (the original 'catlst' format), and 'catlst' was changed to a bulleted list output format.

history note:

Between the 7th and 9th of July 2008, {{catlst}} and {{catlist}} were exchanged in toto for naming consistency purposes. The bulleted separated versions (including various written or schemed "front end" variants) all now named (in part usually) catlist, while the comma separated versions, should omit the "i" and call this &#123{catlst}} variant. (This as it happens was the original, and originally displayed Template:Wpd formatted]] lists, so it's back to it's roots.
For further details
See {{catlst/doc}}

Version at a glance for Template Sharing Project for {{Catlst}}

datestamp and programmer Version Origin Change Description
FrankB 01:24, 10 July 2008 (UTC) Ver: 4c Wikipedia
c.) Pre-save preview spotted redlink fix... a minor data phrasing change and link-to-info name fix (Comma separated list).

FrankB 23:58, 9 July 2008 (UTC) Ver: 4b Commons
b.) (1)Restore some semblance of the version table.
   (2) Changed default {{{END|''<br />}}} to {{{END|}}}, assuming no default. And altered from <div>...</div> to <span>...</span> (remaking edit of the 5th as "catlist") making it more flexible... this lets it locally inhabit the same line as the calling line's text... so can be used as a continuation, vice forcing a newline.

   (3)Whatlinks here and version at a glance top visible notices,Merge back some of the version table, discarded in the commons edits of the 4th-9th July 2008.
Wikipedia changes
Commons changes
a.) Last few days... Swapped entire contents with template:Catlist, so the more favored 'bullet' separated format name matched calling template names. (restored original CSL formating of template:catlst)
Other changes was drop auto-inclusion of /doc page type usage, replacing same with link one can choose.

Changes earlier than this (9 July 2008) point should reference the "catlist" history pages: Commons history and Wikipedia history
(Meaning the below record is part of catlist, not this page space.)

Combined state:
3b1) FrankB 15:11, 21 May 2007 (UTC)

a)Ver: 3 a
_)16:38, 16 May 2007 FrankB
Ver: 3 b1
from:
Ver: 3 a
plus
Ver: 3 _
new= Commons

3a) Wikipedia

3_) Commons
V=3b1) Reverted back to the operating logic version of 16:38, 16 May 2007 FrankB, as supposed "Nice" div's break formating into a tall not wrapping list form. So restoring logic of Ver:(3_) + part of change (3a) (Only this version table)-- no further changes needed.

V:3_ was: Installation plus initialization of this version table with below... but calling for additional changes--repudiated here.
Commons V:3_ was: (Added pass through parameter: {{{CALLEDBY|catlst}}} and expanded to 110 listing capacity,
(re: testbed in commons:template:X7 -- Still needs the wrap expansion)


FrankB 06:41, 21 May 2007 (UTC) Ver: 3 c Commons Last change failed - change whitespace: nowrap to whitespace: wrap, pending research.

FrankB 06:35, 21 May 2007 (UTC) Ver: 3 b Commons trim out '&nbsp;' and add space after divs of wrap:whitespace changes. Getting long lists, not rows of links. Saw same on Wikipedia as on commons.

FrankB 19:02, 18 May 2007 (UTC) Ver: 3 a Wikipedia Add {WPTSP version} (this) table and reconcile, adjust calls for the parameter CALLEDBY, Add the <div style= whitespace handling recommended by CBD for "neater wrapping desire" (to not break links and wrap within each.) [That 'nowrap' part of code in this Ver now deleted in Ver:3b1 as bad effects and an untenable output format.]
16:38, 16 May 2007 FrankB Ver: 3 _ Commons (Added pass through parameter: {{{CALLEDBY|catlst}}} and expanded to 110 listing capacity (re: testbed in commons:template:X7 -- Still needs the wrap expansion)

00:41, 9 March 2007 FrankB Ver: 2 b Commons (Iterim-update to 3 March version)
04:09, 3 March 2007 David Kernow Ver: 2 b Wikipedia m (less conspicuous divider, +comments while trying to follow code, formatting)
00:33, 3 March 2007 FrankB Ver: 2 a1 Wikipedia m (Kill bullet in front of terminal and)
00:05, 3 March 2007 FrankB Ver: 2 a Wikipedia m (stomp on comma typo)
06:45, 2 March 2007 FrankB Ver: 2 _ Wikipedia (export usage to {{catlst/doc}} and convert from comma |separated list to bulleted form per David Kernow input)

03:44, 15 February 2007 FrankB Ver: 1 d Wikipedia (→Purpose - clean up)
01:01, 28 January 2007 FrankB Ver: _ Commons (Genesis -- adapted from cat see also)