User:Mendel/NickDoc

This is a set of templates designed to allow for nice presentation of theNicholas the Traveler information, based on Nicholas the Traveler/Past Collections. A date/time or date/time offset can always be used as parameter. (Demonstration data is 1 week old.)

User:M.mendel/NickLine grabs the requisite table line:

User:M.mendel/NickData has two parameters: date and column. It provides the basis for a set of utility templates that can be used to insert the values easily into our wikitext.

Templates like or  then present the data. ( User:M.mendel/NickQuantity, User:M.mendel/NickMap )

Note: As this is a demo, most values don't have template pages yet, but the code from the Quantity template provides a blueprint.
 * Item Quantity:
 * Item:
 * Item type:
 * Item campaign:
 * Location:
 * Location campaign:
 * Map pagename:

Map mods are then, of course, easy: right|Thumbnail |50x50px right|Thumbnail |50x50px

Examples (see in comparison User:Dr ishmael/Nicholas the Traveler test):  Nicholas the Traveler is collecting  in  this week.

Nick says:

Nick is in this week, scrounging for. He wants of them per gift. Nicholas the Traveler is collecting  in  this week.

Nick says:

Nick is in this week, scrounging for. He wants of them per gift.

Last weekend, Nicholas travelled from to. Last weekend, Nicholas travelled from to.

This solution avoids possible namespace clashes, since the Template: namespace is the "variable" namespace. It is not necessary to call a template that produces no text and whose deeper meaning in relation to the rest of the page is hidden.

Best of it, the system uses two pages we're maintaining right now anyway!

ToDo: Provide for unknown data.