Template:Catlist

From Wikimedia Commons, the free media repository
Jump to: navigation, search


This template is deprecated.
Български | বাংলা | Čeština | Dansk | Deutsch | Zazaki | English | Esperanto | Español | Eesti | فارسی | Suomi | Français | Galego | Magyar | Italiano | 日本語 | 한국어 | Lietuvių | Македонски | മലയാളം | Nederlands | Polski | Português | Русский | Slovenščina | Српски / srpski | Svenska | ไทย | Türkçe | 中文 | 中文(简体)‎ | +/−
Active content hidden above
This template generates an 'error message' when given no input.
See whatlinkshere (Commons / Wikipedia) and usage for appearance.
Version at-a-glance
Ver 4c -- Commons & wikipedia --
c.) Only change version saved on Wikipedia, re-added shortened version table in mid-edit on wikikpedia and merged that with operative code from the commons adjustments. Then re-exported to the Commons so back in synch. Neither use the /doc page method for overt usage now.
b.) Update imbedded template name 'catlst' to new use as 'catlist' (for/in error messages) also bypassed {/doc} page and much of this table's older data.
Document the full swap between this template and template:catlst Page, which were swapped in their entirety (Content for content) so calling templates would have mnemonically matching names for the desired display mode with bullets. That edit here
a.) Exported Iterim version of template to Wikipedia after beginning as per 'b.' above also there, picking up changes between the 4th-7th as well. (Original commons annotation in full version table below)
Usage solely about {{catlist}}
Note the entire contents of this page swapped with {{catlst}} 7 July 2008, and belatedly input to here 9 July 2008. Swap here incorporates the earlier changes made in the commons version 4-7 July, including making this a </span> ... </span> template, so can begin on the same line as other messages. // FrankB 20:56, 9 July 2008 (UTC)
In order of the string built, parameters occur Once only, save for {{{SISTER}}}:
{{{PRE}}} {{{LABEL}}}{{{POST}}} <!-- the list of "{{{SISTER}}} prefixed" categories --> {{{END}}}

{{{CALLED BY}}} occurs only in error messages. (This template is usually called by others which act 
                as "front ends" defining all these parameters and providing the input lists.

Active parameters if used directly:
{{{ PRE|}}}   <!-- for HTML format effects like <b> --->
{{{ LABEL|Categories:}}} <-- logic selects "category:" if only one given
{{{ POST|}}}  <!-- for HTML format effects like </b> or <i> <br/> and so forth, key to flexible display modes
              ---- always occurs "After" {{{LABEL}}}, but "before" the list of categories

So each output begins: {{{PRE}}}{{{LABEL}}}{{{SISTER}}} <-- the list as below, AND ends... --->{{{END}}},
 
In List elements parts, these combine as: [[{{{ SISTER|:}}}Category: {{{ 1}}}|{{{ 1}}}]]
              and etc. for rest of list -->

{{{CALLEDBY}}} is set in the calling template, so correct error messages are generated.

{{{ END|}}}   <!-- Any HTML format effects like </b> or </i>, last field out in string --->

usage for the entire family of templates...{{catlst/doc|Catlist}}

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

datestamp and programmer Version Origin Change Description

FrankB 21:19, 9 July 2008 (UTC) Ver: 4 c Commons
Wikipedia
c.) Only change version saved on Wikipedia, re-added shortened version table in mid-edit on wikikpedia and merged that with operative code from the commons adjustments. Then re-exported to the Commons so back in synch. Neither use the /doc page method for overt usage now.
Wikipedia's edit summary:
Swap or swapping contents with w:template:catlst for display behaviour swaps. (bullets not commas for the most used) Implimented by merge with more updated commons version. FrankB 21:19, 9 July 2008 (UTC)
b.) Update imbedded template name 'catlst' to new use as 'catlist' (for/in error messages) also bypassed {/doc} page and much of this table's older data.
Document the full swap between this template and template:catlst Page, which were swapped in their entirety (Content for content) so calling templates would have mnemonically matching names for the desired display mode with bullets. That edit here
a.) Exported Iterim version of template to Wikipedia after beginning as per 'b.' above also there, picking up changes between the 4th-7th as well.
Commons version of changes read:

Ver: ? -- cumulative changes 4-7 July 2008, including: Finish swap of entire contents with template:Catlst started 7 July This more used version will now do the bullet output mode, and catlst the CSL mode (it's original mode) Also exported to Wikipedia.

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)
01:01, 28 January 2007 FrankB Ver: _ Commons (Genesis -- adapted from cat see also)
For further information see: {{catlst/doc|Catlist}}

Catlist Catlist Catlist