Template:16CHAR

From Wikipedia, the free encyclopedia

note
Until 1632 characters is split and 1632 historical characters created, this template operates identically to {{16CHar}}.

 (edit talk links history)


This is common usage for a family of related templates

Purpose: A (high use) typing aid for 1632 series articles to tie into related list articles...

  • Obviates needs to create redirect pages for otherwise minor links to sections of list articles such as characters, places, institutions, writers, et al. which have relevance only linked to other articles related to the series or other such needs which are mostly in-universe specific links.
Template {{ 16char }} && {{ 16CHAR }} example calls

Explicit call format Resultant output Section title linked to

  • {{ 16char | Mike | Stearns }}
Mike Stearns Stearns, Mike
  • {{ 16char | Jesse | Woods }}
Jesse Woods Woods, Jesse
  • {{ 16CHAR | Cardinal | Richelieu }}
Cardinal Richelieu Richelieu, Cardinal
  • {{ 16CHAR | Gustav II Adolf of | Sweden }}
Gustav II Adolf of Sweden Sweden, Gustav II Adolf of

Note, normal mode is to define by firstname lastname and the template reverses the parameters and makes the link per the else condition in the if-then-else logic.

  • Parameter 'd' is used exclusively in tables on 1632 series, and is meant to take a link to the 'normal' article name of the historic figure.
  • Note: When used in 1632 article text, linking to the coverage of the historic character in the associated 1632 series article which details how he is portrayed is more sensible, and keeps from junking up the articles with excessive explanations. Such sections also cover how and what he does within the series, which in the scope of articles on and about 1632-verse, is far more relevant.
  • Such sections also link to the full article in any event.
Code
{{#if:{{{d|}}}<!--direct article link
   "-->|[[{{{d|}}}|[Art.]]]<!--
   "--> ← <!-- 
-->}}<!-- 
-->{{#if:{{{s|}}}{{{sect|}}}{{{section|}}}<!--
-->|[[1632 characters#{{{s|}}}{{{sect|}}}{{{section|}}}<!--
   "-->|{{#if:{{{p|}}}|{{{p}}}|{{{s|}}}{{{sect|}}}{{{section|}}}}}]]<!--
-->|[[1632 characters#{{{2}}}, {{{1}}}|{{#if:{{{p|}}}|{{{p}}}|{{{1}}} {{{2}}}}}]]<!--
-->}}
  • The parameter 's' (example: |s=Sweden, Gustavus Adolf II of, or s=Cardinal Richelieu — i.e. both are section titles on a target page) will make a direct link ignoring any {{{1}}} and {{{2}}} parameters.
  • The parameter 'p' (example: |p=some other wording) is used to provide a pipetrick for a link using alternative phrasing, and always overrides any default AND 's'.
  • Both the above notes are applicable to all the templates listed below.
related templates in the family
  • {{16batl}} -- 1632 series battles page inline expansion and link of {{{1}}} to section of the same name in the list article.


Please take note the distinctions: 16CHar vs. 16char vs. 16CHAR and 16chrm
  • {{16CHar}} -- is like {{16CHAR}} for 1632 historical characters blended with {{16char}} for fictional characters; because both 16CHar and 16CHAR will take an extra parameter "|d=some link name", which displays ahead of the link built by arg-1 and arg-2 indexing...
         Such a link is used in tables listing individual characters on books articles where "|d=" is used to define a direct link for an (To the) separate article on the character (historic character), and is used solely for prominent historic characters (or, in the case of '16CHar', the most important fictional characters) in 1632-verse. (See table examples in 1633 (novel) here)


  • {{16char}} -- 1632 characters page inline expansion and link, like '16writ' it takes two arguments and juggles them, or a section override.


  • {{16chrm}} -- 1632 minor characters page inline expansion and link, like '16char'/'16writ' it takes two arguments and juggles them for display, or a takes a section override. Unlike the two others, it indexes and links to the section indexed by the first letter of the surname parameter {{{2}}}.
  • Provisionally, section override parameter {{{so}}} [or argument {{{3}}} ] will override the section parameter {{{s}}} and auto-section-link formation off of the first character of parameter {{{2}}} while still displaying the name content of {{{1}}} and {{{2}}}.
  • In the sister templates, 's' displays as well as links, which is the difference between 'so' and 's'{{{so}}} [or argument {{{3}}} ] links, but DOES NOT display on the calling page, while 's' still will, providing capability for such one name characters (both in Ring of Fire) as "Tibelda" in "A Matter of Consultation" or "Klaus" in "To Dye For".


  • {{16inst}} -- 1632 institutions page inline expansion and link of {{{1}}} to section of the same name in the list article.


  • {{16plac}} -- 1632 places page inline expansion and link of {{{1}}} to section of the same name in the list article.


  • {{16writ}} -- 1632 writers page inline expansion and link, like '16char' it takes two arguments and juggles them, or a section override.


Caution: The templates designed to access list pages ordered Surname, First Name will malfunction inline if no {{{2}}} parameter is given... use parameter 's=' to link names like Mazarini which are not sectionalized titles with a comma. This applies to {16char}, {16CHAR} and {16writ} only. {16chrm} will take a single parameter