Template:16writ

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 {{ 16writ }} example calls

Explicit call format Resultant output

  • {{ 16writ | Eric | Flint }}
Eric Flint
  • {{ 16writ | Annette M. | Pederson }}
Annette M. Pederson
  • {{ 16writ | S. L. | Viehl }}
S. L. Viehl
  • {{ 16writ | Christopher James | Weber }}
Christopher James Weber
Usage
Use to make an first name, last name entry in a page as a link to the 1632 writers 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 writers.


code
Note, normal mode is to define {{{1|}}} {{{2|}}} by {{16writ|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 writers#{{{s|}}}{{{sect|}}}{{{section|}}}<!--
      -->|{{{s|}}}{{{sect|}}}{{{section|}}}]]<!--
  -->|[[1632 writers#{{{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)


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


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