Template:32stories
From Wikipedia, the free encyclopedia
Series short story contributions:
|
- Purpose
- This template generates an author to short fiction backlink table for 1632 series writers. It presents multiple books to stories associations as a two column table.
- Usage
- Give the abbreviation template name for the book as {{{1}}} etc... (odd numbers) and the story title in quotes as {{{2}}} (or other even numbers parameters). *Any such pair can be annotated by using the X=parameter, which must be fully formatted as desired. It esentially appends the preceding entry, so it can append that, or if used with a leading break <nowiki>(<br>) or {{I}} or {{I5}}, or even enclose a template.
- 32stories uses the short typing aid templates (anthogies only) "ROF-1", "ROF-2", "GG01", ..., "GG14",... and "34TRR" as input parameters, and once used the template of that name for generation of uniform output consistent in style across the project, whatever page it occurs on.
- Subsequent (Additional) story links from a second article page in a series title can also be output by using the same parameter arrangement.
- The story title should be quoted to perform the proper section link, as one programs the individual templates GG01, GG02,..., ROF-1, etcetera.
- Other parameters
-
- The parameter single= can be defined to generate the table as a single column. This is sometimes necessary to avoid right floating HTML elements such as photo's.
-
- The parameters width and width2 can be given as another way of narrowing the table for right floating elements such as the Table of Contents. width2 <= width, both as a percentage. Normal default is width set to 98%, width2 to 46.5% which generates two columns within page width of 98% each of 46.5%. (A little (1% per side) is allowed for the table border.)
-
- Only a few other HTML standard format keywords like border=, bgcolor= can be defined. (e.g. |border="1px solid blue"|bgcolor="#a9d9f9")
-
- The logic for the titleline option:
{{{titleline| {{#if:{{{m|}}} |<br>''Appears in the stories:'' |''Series short story contributions:'' }} }}}
-
- The lead in line "" can be altered using 'titleline=' or 'm' (selecting between the alternative boilerplate lead in which is "Appears in the stories:")
- 1.0. Default titleline: "Series short story contributions:"
- 1.1. Used from writers article or section on 1632 writers to link to stories, or books
- 2.0. Alternative standard (secondary) titleline: "Appears in the stories:"
- 2.1. Used to link from a character section in 1632 characters or main characters' article page to books/stories wherein the character appears.
- To list a characters appearances: "Appears in the stories:" (In this mode, use X/x with Article name template {{35TCL}}, {{1632}}, etc. Note, X has no formating biases... it must be defined as you want to see the results. X can be used multiple times however, consider Mike Stearns appearances might be listed:
-
-
- {{32stories|m=1|single=yes
- |X=''In the novels: {{1632}}, {{1633}}''
- |x=<br/>and most {{ROF-1}} stories
- |X=<br/>he's mentioned in virtually all [[The Grantville Gazettes]]
- |x=<br/>and novels:{{I5}}{{34TGA}} {{I5}}{{34TRR}}
- {{I5}}{{34TBW}} {{I5}}{{34... {{35TCL}} and take note how instead of listing the gazettes templates, we listed the main gazettes article...
-
- Note
- This template uses the subtemplate/subpage [Once, 32stories/List, but long name added to memory usage too much with reentrant nature] to generate 'reentrant linking' in a small template size with respect to pre-expansion limits. (early versions had expansion size problems, and was limited to one title per article page)