Template:16CHar
From Wikipedia, the free encyclopedia
- note
- This template is for Fictional characters appearing in the 1632 series fiction and if the 'd=' parameter is defined, as is used in tables listing a books characters, will generate also generate a second link giving uniformly formated double links. Thus one template serves to link both the section covering the character, and to the very rare regular wikipedia article on such a character as Mike Stearns or John Chandler Simpson.
- note 2
- The analogous template for fictionalized use of historical figures is the same template ({{16CHAR}}) utilized to link to the figures section coverage. Unlike {{16char}} (which will only form a single link) the '16CHAR' template size penalty by incorportating the logic for the 'd= direct link parameter' was considered tolerable.
- note 3
-
- Until 1632 characters is split and 1632 historical characters created, this template operates identically to {{16CHAR}} (which is for historical characters appearing in the series' fiction)
- The analog template is by design, {{16CHAR}} which does the double links for the historic figures like Gustavus Adolphus all of which meet notability guidelines, unlike most fictional figures.
-
- Both that and this 16CHar CAN provide double article page links to a character in the series:
1) a direct link to a (fictional or historic) character article is conditional, it will only manifest if 'd=link name' is specified. Moreover, it automatically pipetricks the link into a mere click reference.
2) and the section (on either 1632 characters or 1632 historical characters) covering the character... which is the default, and operates whether 'd=linkname' is specified or not.
- Both that and this 16CHar CAN provide double article page links to a character in the series:
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.
|
||
---|---|---|
Explicit call format | Resultant output | Section title linked to |
|
||
|
Mike Stearns | Stearns, Mike |
|
Jesse Woods | Woods, Jesse |
|
Cardinal Richelieu | Richelieu, Cardinal |
|
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, or the series articles on each book in a section listing characters and is meant to take a and provide a link to the 'normal' article name of the historic figure as well as the building the link to the section covering the fictional use and treatment of the historical 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}} -- 1632 series 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 series 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 series 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".
- 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}}}.
- {{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.