Help talk:Advanced templates

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Templates
WikiProject icon This page is within the scope of WikiProject Templates, a group dedicated to improving the maintenance of Wikipedia's templates. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
 

Missing Templates[edit]

The sheer number of missing templates on this page (about 90% of them are broken) make this page completely unreadable. None of the examples work, and reading this documentation when you don't know what to expect is confusing at the least, and gibberish at the worst.--Terrabull (talk) 20:51, 15 March 2009 (UTC)

Yes, this page is a mess, but take a look at the one on meta. --  Nx/talk  23:39, 11 April 2009 (UTC)

Meta:Help:Advanced templates authors and history[edit]

  • 23:36, 21 October 2006 User:213.196.229.18 (→Producing the value of a parameter whose name depends on the value of another parameter)
  • 11:35, 13 October 2006 contribs)| (→A parameter name depending on a parameter - :'''''The following is somewhat obsolete on wikis with the ParserFunctions extension, which allows easier branching.''''')
  • 01:49, 13 October 2006 User:128.163.161.87 (As mentioned a year ago in the comments, this is really hard to learn from.)
  • 16:57, 2 September 2006 contribs)| m (Replace {{Ut}} (redirected to {{Tcw}} with {{Tcw}})
  • 09:40, 13 August 2006 contribs)| (→Producing the value of a parameter whose name depends on the value of another parameter - update)
  • 08:50, 13 August 2006 contribs)| (→Producing the value of a parameter whose name depends on the value of another parameter)
  • 08:46, 13 August 2006 contribs)| (→Producing the value of a parameter whose name depends on the value of another parameter)
  • 08:37, 13 August 2006 contribs)| (→Producing the value of a parameter whose name depends on the value of another parameter - update)
  • 07:52, 14 June 2006 contribs)| (→Producing the value of a parameter whose name depends on the value of another parameter - The latter templates references element j of the row concerned by a tag of the form {{{{{{1}}}-j}}})
  • 07:44, 14 June 2006 contribs)| (The first parameter is the name of a template that provides a particular selection and presentation of a selected row of the array, e.g. {{tiw|en|Reg polyhedron stat table}}, the second parameter (whi)
  • 07:39, 14 June 2006 contribs)| (This is e.g. applied in {{tiw|en|Reg polyhedra db}}, which contains a 2D array in the form {{{{{1}}}|{{{2}}}|1-1=a11|..m-n=amn}})
  • 11:53, 31 May 2006 User:81.234.181.3 (→A parameter name depending on a parameter - Rewriting_a_template_that_calls_other_templates_in_a_self-contained_form is now in Help:Substitution)
  • 07:58, 31 May 2006 contribs)| (Some described applications of these techniques may be outdated because applying parser functions is better.)
  • 07:14, 31 May 2006 contribs)| (→Examples of pages that call a template with a name depending on a variable - update)
  • 07:12, 31 May 2006 contribs)| (→A template name or a parameter value depending on a parameter or variable)
  • 07:09, 31 May 2006 contribs)| (→A template name or a parameter value depending on a parameter or variable)
  • 07:04, 31 May 2006 contribs)| (→A template name or a parameter value depending on a parameter or variable - update)
  • 00:08, 31 May 2006 contribs)| ({{subst:timc|t}} (2x))
  • 23:49, 30 May 2006 contribs)| (→A template name or a parameter value depending on a parameter or variable - timc -> tim)
  • 23:48, 30 May 2006 contribs)| (→A template containing an assignment of a parameter value to a parameter name - timc -> tim)
  • 15:47, 14 May 2006 contribs)| m (forget TransWiki, too many examples, but remove sidebar clobbering monospaced text in first section)
  • 15:45, 14 May 2006 contribs)| m (and in 1.7 (preparing TransWiki))
  • 02:15, 14 May 2006 contribs)| (rm deleted categoet)
  • 02:31, 27 April 2006 contribs)| (→Producing the value of a parameter whose name depends on the value of another parameter - subst blurb)
  • 02:37, 21 April 2006 contribs)| (→Producing the value of a parameter whose name depends on the value of another parameter)
  • 02:26, 21 April 2006 contribs)| (→Producing the value of a parameter whose name depends on the value of another parameter - trim and expand explanation)
  • 00:58, 21 April 2006 contribs)| (→Template producing the name of the talk namespace of the calling page - rm cruft (resolved bug, documented "magic words" and "variable"))
  • 18:20, 6 April 2006 contribs)| m (Clobbers the nav box - force ToC into width=80%)
  • 23:18, 5 April 2006 contribs)| (restore titles, a proper formulation is important here)
  • 12:13, 4 April 2006 contribs)| (→Producing the value of a parameter whose name depends on the value of another parameter - Another title clobbering the nav box near to the ToC, this article is FAR below all standards)
  • 12:11, 4 April 2006 contribs)| m (→Including the content of a template in a template or variable name or parameter value - Trim excessively long title clobbering ToC - if you've something to say do it IN the section)
  • 12:09, 4 April 2006 contribs)| m (rm H:1 example because I intend to kill it)
  • 01:08, 29 March 2006 contribs)| m (add sort key)
  • 00:32, 29 March 2006 contribs)| m (rm obsolete AUM link)
  • 00:05, 23 January 2006 contribs)| (→A template containing an assignment of a parameter value to a parameter name)
  • 00:03, 23 January 2006 contribs)| (→A template containing an assignment of a parameter value to a parameter name)
  • 00:00, 23 January 2006 contribs)| (→A template containing an assignment of a parameter value to a parameter name)
  • 23:59, 22 January 2006 contribs)| (==A template containing an assignment of a parameter value to a parameter name==)
  • 13:57, 16 December 2005 contribs)| (moved text to *Help:Array)
  • 00:36, 10 December 2005 contribs)| m (Help:Hacking templates moved to Help:Advanced templates)
  • 00:26, 10 December 2005 contribs)| (→See also - *Logic templates (discussion))
  • 00:23, 10 December 2005 contribs)| (→See also - *Logic templates)
  • 16:36, 9 December 2005 contribs)| m (→Producing the value of a parameter whose name depends on the value of another parameter)
  • 16:34, 9 December 2005 contribs)| m (→Producing the value of a parameter whose name depends on the value of another parameter)
  • 16:32, 9 December 2005 contribs)| (→Producing the value of a parameter whose name depends on the value of another parameter)
  • 16:19, 9 December 2005 contribs)| m (→Producing the value of a parameter whose name depends on the value of another parameter)
  • 18:53, 2 December 2005 contribs)| m (→Producing the value of a parameter whose name depends on the value of another parameter)
  • 18:50, 2 December 2005 contribs)| (→Producing the value of a parameter whose name depends on the value of another parameter)
  • 18:48, 2 December 2005 contribs)| m (→Producing the value of a parameter whose name depends on the value of another parameter)
  • 18:46, 2 December 2005 contribs)| (→Producing the value of a parameter whose name depends on the value of another parameter)
  • 18:42, 2 December 2005 contribs)| (→Producing the value of a parameter whose name depends on the value of another parameter)
  • 18:37, 2 December 2005 contribs)| m (→Producing the value of a parameter whose name depends on the value of another parameter)
  • 18:32, 2 December 2005 contribs)| m (→Producing the value of a parameter whose name depends on the value of another parameter - code)
  • 17:57, 2 December 2005 contribs)| (→Producing the value of a parameter whose name depends on the value of another parameter)
  • 09:46, 2 December 2005 contribs)| (→Producing the value of a parameter whose name depends on the value of another parameter)
  • 09:43, 2 December 2005 contribs)| (→Producing the value of a parameter whose name depends on the value of another parameter)
  • 09:34, 2 December 2005 contribs)| (→Producing the value of a parameter whose name depends on the value of another parameter)
  • 09:24, 2 December 2005 contribs)| (→Producing the value of a parameter whose name depends on the value of another parameter -demonstrate instead of just tell)
  • 01:36, 2 December 2005 contribs)| m (→Producing the value of a parameter whose name depends on the value of another parameter)
  • 01:23, 2 December 2005 contribs)| m (→Value of parameter reference depended on value of parameter reference)
  • 00:59, 2 December 2005 contribs)| (→See also - switch)
  • 02:07, 1 December 2005 contribs)| (→Value of parameter reference depended on value of parameter reference)
  • 02:04, 1 December 2005 contribs)| m (→Value of parameter reference depended on value of parameter reference)
  • 02:02, 1 December 2005 contribs)| m (→Value of parameter reference depended on value of parameter reference)
  • 02:00, 1 December 2005 contribs)| m (→Value of parameter reference depended on value of parameter reference)
  • 01:58, 1 December 2005 contribs)| (Added "Value of parameter reference depended on value of parameter reference")
  • 03:36, 25 November 2005 contribs)| (Changed initial template.)
  • 23:40, 24 November 2005 contribs)| (→A template name or a parameter value depending on a parameter or variable)
  • 23:34, 24 November 2005 contribs)| m (→A template name or a parameter value depending on a parameter or variable)
  • 15:10, 20 November 2005 contribs)| m (Help:Template names, variable names and parameters depending on a variable or parameter moved to Help:Hacking templates)
  • 15:04, 20 November 2005 contribs)| (copy the long title into a sentence before I move the page)
  • 14:34, 11 November 2005 contribs)| (See '''Help:Array'''. (moved))
  • 14:11, 11 November 2005 contribs)| (→Alternative method)
  • 14:02, 11 November 2005 contribs)| (→Alternative method)
  • 13:26, 11 November 2005 contribs)| (→Alternative method)
  • 12:23, 11 November 2005 contribs)| (→Alternative method)
  • 12:04, 11 November 2005 contribs)| (→Alternative method)
  • 11:57, 11 November 2005 contribs)| (→Alternative method)
  • 11:35, 11 November 2005 contribs)| (→Alternative method)
  • 15:39, 24 October 2005 contribs)| m (→Including the content of a template in a variable name or parameter value)
  • 15:35, 24 October 2005 contribs)| (→Impossibility to include the content of a template in a template name - update)
  • 11:52, 22 October 2005 contribs)| m (→Including the content of a template in a variable name or parameter value)
  • 11:46, 22 October 2005 contribs)| (→Including the content of a template in a variable name or parameter value - it is now also possible to use a data array as parameter of a template)
  • 11:42, 22 October 2005 contribs)| (→Illustration of the possibilities of template calls and links - update)
  • 11:17, 22 October 2005 contribs)| (→Impossibility to include the content of a template in a template name -update)
  • 11:11, 22 October 2005 contribs)| (→A parameter name depending on a parameter - update)
  • 11:09, 22 October 2005 contribs)| (→A parameter name depending on a parameter - update)
  • 10:58, 22 October 2005 contribs)| m (→Alternative way)
  • 10:54, 22 October 2005 contribs)| (→A 1D array contained in a template)
  • 10:51, 22 October 2005 contribs)| (→Arrays with a template for each element)
  • 10:46, 22 October 2005 contribs)| (→Impossibility to include the content of a template in a template name, variable name, or parameter value - ==Impossibility to include the content of a template in a template name==)
  • 01:27, 21 October 2005 contribs)| (→Impossibility to include the content of a template in a template name, variable name, or parameter value)
  • 23:47, 20 October 2005 contribs)| m (→Impossibility to include the content of a template in a template name, variable name, or parameter value)
  • 23:43, 20 October 2005 contribs)| m (→Impossibility to include the content of a template in a template name, variable name, or parameter value)
  • 21:31, 20 October 2005 contribs)| (→Impossibility to include the content of a template in a template name, variable name, or parameter value - Syntax changes !)
  • 10:34, 2 October 2005 contribs)| (On the other hand , <code><nowiki>{{CURRENTTIME}}</nowiki></code> has 1440 possible values, so it would be impractical to create a template or even just a redirect for each. In that case the alternati)
  • 09:14, 2 October 2005 contribs)| (→Alternative way)
  • 01:00, 2 October 2005 contribs)| (→Alternative way)
  • 00:57, 2 October 2005 contribs)| m (→Alternative way)
  • 00:54, 2 October 2005 contribs)| (→Alternative way)
  • 00:50, 2 October 2005 contribs)| (→Alternative way)
  • 00:44, 2 October 2005 contribs)| (→Alternative way)
  • 00:39, 2 October 2005 contribs)| (===Alternative way===)
  • 07:16, 30 July 2005 User:68.126.196.180 (→Template producing the name of the talk namespace of the calling page)
  • 07:28, 21 July 2005 contribs)| m (→A 1D array contained in a template)
  • 05:49, 26 June 2005 contribs)| m (→A template name or a parameter value depending on a parameter or variable - wrapping code examples with <code>)
  • 12:17, 18 June 2005 contribs)| m (→A parameter name depending on a parameter)
  • 12:11, 18 June 2005 contribs)| m (→A parameter name depending on a parameter)
  • 12:05, 18 June 2005 contribs)| m (→A parameter name depending on a parameter)
  • 12:01, 18 June 2005 contribs)| (→A parameter name depending on a parameter)
  • 11:46, 18 June 2005 contribs)| (→A parameter name depending on a parameter)
  • 11:35, 18 June 2005 contribs)| m (→A parameter name depending on a parameter)
  • 11:32, 18 June 2005 contribs)| (→A parameter name depending on a parameter)
  • 11:00, 18 June 2005 contribs)| (Also, without a separate template Death, with just the more general {{tcw|p2p1p3}}:)
  • 11:48, 14 June 2005 contribs)| (→A parameter name depending on a parameter -Note that <nowiki>{{</nowiki>NAMESPACE}} produces underscores for spaces, which are not considered equal by the template:)
  • 11:39, 14 June 2005 contribs)| (→A parameter name depending on a parameter)
  • 11:37, 14 June 2005 contribs)| (→A parameter name depending on a parameter -More generally, using {{tcw|If equal g}}:)
  • 13:17, 9 June 2005 contribs)| (→Impossibility to include the content of a template in a template name, variable name, or parameter value)
  • 13:01, 9 June 2005 contribs)| (→Impossibility to include the content of a template in a template name, variable name, or parameter value)
  • 07:30, 7 June 2005 contribs)| m (→A parameter name depending on a parameter)
  • 15:40, 26 May 2005 contribs)| m (→A parameter name depending on a parameter)
  • 15:36, 26 May 2005 contribs)| (→A parameter name depending on a parameter)
  • 23:29, 22 May 2005 contribs)| (→A parameter name depending on a parameter)
  • 16:40, 20 May 2005 contribs)| (→A parameter name depending on a parameter)
  • 16:38, 20 May 2005 contribs)| (→A parameter name depending on a parameter)
  • 16:33, 20 May 2005 contribs)| (→Optional text)
  • 15:11, 20 May 2005 contribs)| (→A parameter name depending on a parameter)
  • 15:10, 17 May 2005 contribs)| (→Arrays with a template for each element - a sysop may also apply export and import.)
  • 21:38, 16 May 2005 contribs)| (**Template:Gns - generic namespace name, useful for linking to the corresponding page on another project)
  • 07:28, 14 May 2005 contribs)| (Using "subst:" with manual recursion gives a stepwise replacement, useful for analyzing and explaining the working of templates calling other templates. See e.g. Template talk:Lop.)
  • 01:23, 14 May 2005 User:65.8.199.161 (→A parameter name depending on a parameter - minor fix)
  • 01:21, 14 May 2005 User:65.8.199.161 (→A parameter name depending on a parameter - minor)
  • 23:51, 12 May 2005 contribs)| m (→Impossibility to include the content of a template in a template name, variable name, or parameter value)
  • 23:47, 12 May 2005 contribs)| (Similarly, a template that assembles the composite coordinate parameters of w:en:Template:coor, should either call it itself, or not use it and directly do what coor also does.)
  • 23:35, 12 May 2005 contribs)| (the content of a template can only be used in plain text, in links, and in image syntax.)
  • 23:20, 12 May 2005 contribs)| (→A parameter name depending on a parameter)
  • 23:17, 12 May 2005 contribs)| (A disadvantage is the extra parameter: it has to be specified that a president is dead, it is not sufficient to leave the date of death empty. An advantage is that backlinks are available not only for)
  • 15:22, 12 May 2005 contribs)| m (→A parameter name depending on a parameter)
  • 15:17, 12 May 2005 contribs)| ((Alternatively a separate parameter death with one of the values "dead" and "alive" is used, see e.g. w:en:Template:Infobox President with auxiliary templates [[w:en:Template:Infobox President/ali)
  • 22:55, 10 May 2005 contribs)| (→Illustration of the possibilities of template calls and links)
  • 22:44, 10 May 2005 contribs)| (→Illustration of the possibilities of template calls and links)
  • 22:36, 10 May 2005 contribs)| (→Illustration of the possibilities of template calls and links)
  • 22:32, 10 May 2005 contribs)| (<nowiki>de}} TV coverage of Wikipedia</nowiki> gives de}} TV coverage of Wikipedia.)
  • 22:01, 10 May 2005 contribs)| m (→Illustration of the possibilities of template calls and links)
  • 20:20, 10 May 2005 contribs)| m (→Illustration of the possibilities of template calls and links)
  • 13:44, 10 May 2005 contribs)| (→Illustration of the possibilities of template calls and links)
  • 13:20, 10 May 2005 contribs)| (→Illustration of the possibilities of template calls and links)
  • 12:05, 10 May 2005 contribs)| m (→Illustration of the possibilities of template calls and links)
  • 11:54, 10 May 2005 contribs)| (→Illustration of the possibilities of template calls and links)
  • 11:29, 10 May 2005 contribs)| (→Illustration of the possibilities of template calls and links)
  • 11:19, 10 May 2005 contribs)| (→Illustration of the possibilities of template calls and links -cleanup)
  • 11:01, 10 May 2005 contribs)| m (→Illustration of the possibilities of template calls and links)
  • 10:49, 10 May 2005 contribs)| m (→See also - rm dup)
  • 10:29, 10 May 2005 contribs)| (→Illustration of the possibilities of template calls and links)
  • 09:01, 10 May 2005 contribs)| (→Illustration of the possibilities of template calls and links)
  • 08:25, 10 May 2005 contribs)| (→Illustration of the possibilities of template calls and links)
  • 08:24, 10 May 2005 contribs)| (→Illustration of the possibilities of template calls and links)
  • 07:43, 10 May 2005 contribs)| m (→Illustration of the possibilities of template calls and links)
  • 07:41, 10 May 2005 contribs)| (==Illustration of the possibilities of template calls and links==)
  • 10:19, 8 May 2005 contribs)| (→Impossibility to include the content of a template in a template name, variable name, or parameter value)
  • 10:15, 8 May 2005 contribs)| (→Impossibility to include the content of a template in a template name, variable name, or parameter value)
  • 10:09, 8 May 2005 contribs)| (→Impossibility to include the content of a template in a template name, variable name, or parameter value)
  • 09:36, 8 May 2005 contribs)| (→Impossibility to include the content of a template in a template name, variable name, or parameter value)
  • 09:00, 8 May 2005 contribs)| m (→A parameter name depending on a parameter)
  • 08:58, 8 May 2005 contribs)| (→A parameter name depending on a parameter)
  • 08:55, 8 May 2005 contribs)| (→A parameter name depending on a parameter)
  • 08:51, 8 May 2005 contribs)| (→A parameter name depending on a parameter)
  • 08:42, 8 May 2005 contribs)| (→A parameter name depending on a parameter)
  • 08:35, 8 May 2005 contribs)| (→A 1D array contained in a template - Where suitable, indexes of various arrays should be named the same, so that these templates can be reused.)
  • 08:31, 8 May 2005 contribs)| (→A 1D array contained in a template)
  • 08:22, 8 May 2005 contribs)| (→Other ways of organizing arrays for easy access)
  • 08:17, 8 May 2005 contribs)| (→Arrays of higher dimensions)
  • 07:57, 8 May 2005 contribs)| (→Arrays of higher dimensions)
  • 07:33, 8 May 2005 contribs)| m (→Arrays of higher dimensions)
  • 07:32, 8 May 2005 contribs)| (→Arrays of higher dimensions)
  • 07:22, 8 May 2005 contribs)| (Most of the templates on the project are in this array (see [http://commons.wikimedia.org/w/index.php?title=Special:Allpages&namespace=10 list]).)
  • 07:15, 8 May 2005 contribs)| (→Arrays of higher dimensions)
  • 07:07, 8 May 2005 contribs)| (→Arrays of higher dimensions)
  • 07:01, 8 May 2005 contribs)| (→Arrays of higher dimensions -such as commons:Template:Potd/2005-06-2 (de).)
  • 06:59, 8 May 2005 contribs)| (An example of a 4D array is at Commons, with elements of the form <nowiki>Template:Potd/{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} ({{{lang}}})</nowiki>, each in a separate template.)
  • 11:31, 7 May 2005 contribs)| m (→A 1D array contained in a template)
  • 11:26, 7 May 2005 contribs)| (empty string is allowed as parameter name)
  • 22:36, 6 May 2005 contribs)| m (→Naming conventions of array templates)
  • 22:35, 6 May 2005 contribs)| (→Naming conventions of array templates)
  • 16:05, 6 May 2005 contribs)| (→Naming conventions of array templates - Similarly Template:Name of talk namespace could also be called Template:Names of talk namespaces.)
  • 16:01, 6 May 2005 contribs)| (→A 1D array contained in a template - namespace number)
  • 15:52, 6 May 2005 contribs)| (It is not obvious whether a singular or plural name should be used if a single template contains several data, but they are retrieved one at the time, e.g. the template Book above could be called "Tem)
  • 21:18, 5 May 2005 contribs)| (→A parameter name depending on a parameter)
  • 21:13, 5 May 2005 contribs)| (→A parameter name depending on a parameter)
  • 21:03, 5 May 2005 contribs)| (→A parameter name depending on a parameter)
  • 20:56, 5 May 2005 contribs)| (→A parameter name depending on a parameter -This can be combined into the following branching technique:)
  • 20:34, 5 May 2005 contribs)| (→A parameter name depending on a parameter)
  • 20:26, 5 May 2005 contribs)| (→A parameter name depending on a parameter)
  • 20:16, 5 May 2005 contribs)| (Furthermore, multiple assignments of values to the same parameter in the same template call is allowed and result in the last value being used.)
  • 23:09, 4 May 2005 contribs)| (→A parameter name depending on a parameter)
  • 23:03, 4 May 2005 contribs)| (Branching according to {{{1}}}=a or {{{1}}}&ne;a ''is'' possible, see the section #A parameter name depending on a parameter.)
  • 22:09, 4 May 2005 contribs)| m (→A parameter name depending on a parameter)
  • 22:05, 4 May 2005 contribs)| (→A parameter name depending on a parameter)
  • 21:02, 4 May 2005 contribs)| m (→A template name or a parameter value depending on a parameter or variable)
  • 20:17, 4 May 2005 contribs)| (mv to right section)
  • 16:06, 4 May 2005 contribs)| (→A variable name depending on a parameter)
  • 15:56, 4 May 2005 contribs)| (→A variable name depending on a parameter)
  • 15:49, 4 May 2005 contribs)| (w:en:Template:If defined call1 calls w:en:Template call1 with 1={{{2}}} followed by 1{{{1}}}=void; if {{{1}}} is empty then this overwrites the value of 1, so 1=void, otherwise 1={{{2}}}, givi)
  • 00:32, 3 May 2005 contribs)| (→Template producing the name of the talk namespace of the calling page)
  • 00:04, 3 May 2005 contribs)| (→Arrays with a template for each element)
  • 23:59, 2 May 2005 contribs)| m (→Arrays with a template for each element)
  • 23:57, 2 May 2005 contribs)| (→Arrays with a template for each element)
  • 23:54, 2 May 2005 contribs)| (→Arrays with a template for each element -*See w:en:Template talk:Articlespace: the namespaces are the index values, the no-talk namespaces are the array values.)
  • 23:30, 2 May 2005 contribs)| (→Template producing the name of the talk namespace of the calling page)
  • 14:25, 2 May 2005 contribs)| (→Template producing the name of the talk namespace of the calling page)
  • 14:15, 2 May 2005 contribs)| (→Template producing the name of the talk namespace of the calling page)
  • 14:08, 2 May 2005 contribs)| (→Template producing the name of the talk namespace of the calling page)
  • 14:03, 2 May 2005 contribs)| (→See also - moved from help:Template)
  • 23:22, 1 May 2005 contribs)| (For example, a template like Template:Histogram can not be applied to an array in the sense explained above.)
  • 23:16, 1 May 2005 contribs)| (→A template name or a parameter value depending on a parameter or variable - Template:Histogram)
  • 22:36, 1 May 2005 contribs)| (In particular, a template name, variable name, and parameter value cannot depend on an "array value" as explained above.)
  • 22:33, 1 May 2005 contribs)| m (→Impossibility to include the content of a template in a template name, variable name, or parameter value)
  • 03:53, 1 May 2005 contribs)| (→A template name or a parameter value depending on a parameter or variable)
  • 03:47, 1 May 2005 contribs)| (→Examples of pages that call a template with a name depending on a variable -rm wrong example)
  • 03:40, 1 May 2005 contribs)| (Having multiple parameters, which each can have only few values, is more flexible than having the same total number of possibilities in a single parameter.)
  • 03:37, 1 May 2005 contribs)| (→A template name or a parameter value depending on a parameter or variable)
  • 03:34, 1 May 2005 contribs)| (This allows branching depending on variables and parameters. However, since no conditions such as {{{1}}}=a or {{{1}}}<a can be evaluated, this works best if each para)
  • 20:39, 30 April 2005 contribs)| (The choice of what is put together in one template (a row or a column of a given matrix) can either be based on whether {{n de|fr}} or {{n fr|de}} is a more natural notation for this word, or, as has)
  • 20:32, 30 April 2005 contribs)| (→A 2D array contained in a single template)
  • 20:27, 30 April 2005 contribs)| (reverse: Template:Nlanguage-code contains the word for various languages, expressed in one language.)
  • 15:20, 30 April 2005 contribs)| (→Examples of pages that call a template with a name depending on a variable)
  • 15:19, 30 April 2005 contribs)| (→Examples of pages that call a template with a name depending on a variable)
  • 15:13, 30 April 2005 contribs)| (→Examples of pages that call a template with a name depending on a variable)
  • 14:51, 30 April 2005 contribs)| m (→A template name or a parameter value depending on a parameter or variable)
  • 14:41, 30 April 2005 contribs)| ((although <nowiki>{{ns:3}}</nowiki> gives {{ns:3}} with an underscore, it is anyway not possible to have a parameter name depend on a variable,)
  • 14:32, 30 April 2005 contribs)| (→A parameter name depending on a parameter - a parameter name in a template call can ''not'' depend on a variable:)
  • 14:31, 30 April 2005 contribs)| (→A parameter name depending on a parameter)
  • 14:20, 30 April 2005 contribs)| (→A 1D array contained in a template)
  • 14:18, 30 April 2005 contribs)| (→A 1D array contained in a template)
  • 14:15, 30 April 2005 contribs)| (→A 1D array contained in a template)
  • 14:08, 30 April 2005 contribs)| (However, in the case of a variable, occasionally a deviation is necessary: <nowiki>{{NAMESPACE}}</nowiki> is an empty string for the main namespace, but this is not allowed as parameter name, therefo)
  • 13:49, 30 April 2005 contribs)| (→A 1D array contained in a template - Since for every applicable value of the variable a template has to be created)
  • 13:46, 30 April 2005 contribs)| (Alternatively the parameter <nowiki>{{{</nowiki>1}}} is replaced by a variable, as in Template:Nsn (name space number). This is mainly suitable for variables that do not take too many values, and)
  • 13:05, 30 April 2005 contribs)| m (→Examples of pages that call a template with a name depending on a variable)
  • 13:04, 30 April 2005 contribs)| (→Examples of pages that call a template with a name depending on a variable)
  • 13:00, 30 April 2005 contribs)| (→Examples of a template name depending on a variable - *Template:Name of talk namespace)
  • 12:52, 30 April 2005 contribs)| (→Examples of a template name depending on a variable)
  • 12:48, 30 April 2005 contribs)| m (→A 1D array contained in a template)
  • 12:10, 30 April 2005 contribs)| (→A 1D array contained in a template)
  • 12:05, 30 April 2005 contribs)| (→A 1D array contained in a template)
  • 09:50, 30 April 2005 contribs)| m (→A parameter name depending on a parameter)
  • 09:49, 30 April 2005 contribs)| (→A parameter name depending on a parameter - However, a parameter name in a parameter tag can ''not'' depend on a parameter, see the edit and talk page of Template:T pnd1.)
  • 09:46, 30 April 2005 contribs)| (A parameter name in a template call (before "=") can depend on a parameter, see the edit and talk page of Template:T pnd. This applies also for integer parameter names which normally do not requir)
  • 09:04, 30 April 2005 contribs)| (This page is an extension of '''Help:Template'''.)
  • 08:53, 30 April 2005 contribs)| (change order of sections)
  • 08:35, 30 April 2005 contribs)| m (→Examples of a template name depending on a variable)
  • 08:34, 30 April 2005 contribs)| (==Examples of a template name depending on a variable==)
  • 08:23, 30 April 2005 contribs)| (→A template name or a parameter value depending on a parameter or variable)
  • 08:18, 30 April 2005 contribs)| (→A template name or a parameter value depending on a parameter or variable)
  • 08:13, 30 April 2005 contribs)| (Examples of a template name depending on a variable:)
  • 07:55, 30 April 2005 contribs)| (*Meta_talk:Templates_for_translating_language_names)
  • 00:17, 30 April 2005 contribs)| m (→A 1D array contained in a template)
  • 13:38, 29 April 2005 contribs)| (→Arrays with a template for each element - See also explanation page.)
  • 13:21, 29 April 2005 contribs)| m (→A template name or a parameter value depending on a parameter or variable)
  • 13:20, 29 April 2005 contribs)| (An advantage is that the absence of a data value shows up a link to a non-existing template, allowing an individual data value to be added easily. Depending on how fast the servers are, adding multipl)
  • 13:13, 29 April 2005 contribs)| (A disadvantage of having a template for each array element is that it is extremely cumbersome to copy an array to another project, unless a bot is used.)
  • 13:08, 29 April 2005 contribs)| (→Optional text - ====Example with multiple similar lines====)
  • 12:34, 29 April 2005 contribs)| (===Optional text===)
  • 12:24, 29 April 2005 contribs)| (moved from Help:Template)

From Meta:Help talk:Advanced templates[edit]

This is confusing.--Arceus fan 15:59, 2 October 2007 (UTC)

Formatting[edit]

Hello. Can someone go into my subpage on the SNN and edit it so that if I was to type {{User:Launchballer/formatting|underlined=no}} it would read {{{1}}} instead of whats usually there.--Launchballer (talk) 14:47, 8 June 2009 (UTC)

Recreated soft redirect to metawikipedia:Help:Advanced templates[edit]

I have replaced the article with a soft redirect to metawikipedia:Help:Advanced templates because the articles were orginally the same and the version here had since been amended and had its example templates amended or deleted (or deleted then undeleted in amended form) leaving this version of the article confusing if not useless (as evidenced by some of the above comments).

The edit history here shows that the page used to be a soft redirect. The edit history and talk page above do not explain why the soft redirect was replaced with text pasted in from the meta article in 2006, but the detrimental changes here seem to justify reverting to a link to the article on meta, where the content seems to have been better maintained.

Richardguk (talk) 01:08, 24 January 2010 (UTC)