Template:16char

From Wikipedia, the free encyclopedia

 (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
  • Frequently recurring characters can use an implimentation in a redirect template until such a time as they may be significant enough for their own article. Then all links can be updated in one template change. Don't overuse this second method!, it's already depreciated with the availability of these templates. See listed names in Category:1632 series templates.
Usage
Use to make an first name, last name entry in a page as a link to the 1632 characters list article and link to the last name first name organized section there via the section reference feature.
Use the over rides {{{s|}}}{{{sect|}}}{{{section|}}} to bypass section names that do not have comma delimited section names in 1632 characters such as "Four Musketeers", "Abrabanel family" and so forth.
code
Note, normal mode is to define {{{1|}}} {{{2|}}} by {{16char|firstname|lastname}}
and the template reverses the parameters and makes the link per the else condition
in the if-then-else logic.

{{#if:{{{s|}}}{{{sect|}}}{{{section|}}}<!--
  -->|[[1632 characters#{{{s|}}}{{{sect|}}}{{{section|}}}<!--
      -->|{{{s|}}}{{{sect|}}}{{{section|}}}]]<!--
  -->|[[1632 characters#{{{2|}}}, {{{1|}}}<!--
      -->|{{{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}} -- 1632 historical characters page inline expansion and link, like '16char'/'16writ' it takes two arguments and juggles them, or a section override.


  • {{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)


  • {{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