User:Mathglot/sandbox/Templates

Tests of these templates (and others) at ../Test pages.

my Templates

 * template one
 * Waterways of Belgium -- copied from ca:Plantilla:Canals de Bèlgica
 * Template:Htrans - a bad translation, painted over by a facade of good English; a hidden translation
 * Htrans/Test data - hub page, containing test data for Htrans template.
 * Template:Uw-notenglish - in reply to Noyster's Rewording proposal
 * Template:Translate clarify span - on the model of clarify span
 * Template:Translate clarify span/doc - on the model of clarify span/doc
 * /Template:X2 review help
 * * /Template:X2 review help/doc
 * /Template:Fake heading - per Template talk:Fake heading
 * /Template:move notice text - canned (unparametrized) text for /Template:merge notice below
 * /Template:move notice - long one, like Afd notice
 * /Template:Tibet topics - based on Template:France topics
 * /Template:Translate attreq based on Template:cv-unsure. See WT:CP
 * /Template:WikiEd assignment based on Template:Dashboard.wikiedu.org assignment. This version defaults the "term".
 * /Template:WikiEd banner shell based on Template:WikiProject banner shell.
 * /Glossary term based on Template:Wikisource, Template:Sister project, Template:Side box.
 * /Brazil glossary term, userfied from Template:Brazil glossary term per WP:TFD.
 * /Dashboard.wikiedu.org assignment based on Template:Dashboard.wikiedu.org assignment rev 870001272.
 * /Template:Themself based on Template:Them.
 * /Template:Country info adapted loosely from Template:Citation Style documentation
 * /Template:Ctinfo a redirect to the above, modeled on csdoc
 * /To USD round a mashup of To USD and sigfig
 * /Portuguese name add 'suffix' param for Filho.
 * /World topic add, e.g.,  to get Nav for every country.
 * /WikiProject subpage, like Documentation subpage, but for WP:WikiProjects
 * /EditOptions, font color should be white on button
 * /Translation attribution shell, like Project banner shell or WikiEd banner shell
 * /Dablinks add params 1-10 for dablink list
 * /More citations needed, copy of rev 956943948 to address Template talk:More citations needed
 * /More citations needed 696856250, copy of rev 696856250 of 12:11, December 26, 2015 for same problem.
 * /POV small just an invocation of POV with small so we can grab the page source easily.
 * /Further ill – a mashup of Further and ill.
 * /Preferred pronouns – see Infobox Rfc  –  see Article pronouns/
 * /WikiProject Banner shell – see WikiProject banner shell
 * /Deletion process cheat sheet/Last Afd, userfied from Draft; see Draft:Deletion process cheat sheet/Last AfdX (now moved to Last Afd).
 * /Needtrans/sandbox save rev 1007151603 of this as input for testing Safesubst convert
 * /Interlanguage link info test, can we pass 'classes' param via Ambox to Module:Message box in order to control visibility of templates like Expand language.
 * /Expand language
 * /fr Palette Régime de Vichy – a copy of Template:Vichy France massaged per User:Mathglot/sandbox. Mathglot (talk) 01:11, 23 May 2021 (UTC)
 * /Welcome-foreign, to consolidate all the foreign language templates at WP:WT. Uses subpages:
 * /Welcome-foreign/French
 * /Welcome-foreign/Dutch
 * /Welcome-foreign/Spanish
 * /Deletion process cheat sheet2 (will be used to tweak Template:Deletion process cheat sheet to update it.
 * /Afd top box
 * /Passthru, returns arg1. Intended for things like passing colon, asterisk, or hash in templates to be able to test string-test algos like subtemplates in lorem.
 * /is-colon, can we test for metacharacters passed, like a colon?
 * /is-meta, tests for any col-1 metachar, such as colon, hash, or asterisk
 * /is-meta-c1, tests whether the first character of a string is meta
 * /pbcond, like is-meta-c1, but returns a pair of p-tags as paragraph break when 1st char is non-meta
 * /pbcondj, like /pbcond, with 2 args which looks at join arg as well
 * /findsources, wrapper, as described at Talk:Template header
 * /WikiProject talk other, bulleted WikiProjects, except on Talk pages
 * /Interlang documentation table, grid of policy abbrs and links to them in various Wikipedias
 * /Interlang grid cell, generate one cell of table given shortcuts for guideline for a given lang
 * /Talk header sandbox, truncated version of sbx version of Talk header/sandbox rev 1052197537
 * /Join, a simpler replacement for Separated entries, for use at nl-wiki for ill.
 * /ExpandTemplates link, moved here from Template space after appearing at
 * /Find medical sources mainspace
 * /Conditional heading, designed to allow headings to be conditionally transcluded; non-working
 * /Chead, new version
 * /Defer, deferred transclusion: playing with deferred noinclude
 * /Calldefer, tester to call /Defer
 * /Callcalldefer, tester to call /Calldefer
 * /Str parendis, moved here from Template space; keep in mind for Afd doc.
 * /FENS box, a side box for the WP:FENS project of Free English Newspaper sources
 * /UN WPP at, a portion of the new UN WPP template that is failing
 * /Tmboxw, an Mbox workaround for Tmbox bug
 * /Photoreqw, a simplified clone of Photo requested,, a Tmbox, for testing Tmboxw.
 * /Sbds, shorten parenthetical birth - death year string
 * /isnum, returns arg1 if it's numeric, else empty
 * /linkone, returns a diff link for input which could be either a revision id, or a diff fullurl
 * /Unclosed break tag, boilerplate user page advice message about closing break tags
 * /Tmboxw, moot Tmbox-replacement, while was open
 * /User5xx, save from Afd deletion
 * /Alberta templates (subdirectory) where the following four should be moved:
 * /Nth slash
 * /Comma flip
 * /Comma flip2
 * /MD expand
 * /Sfn Legifrance, goes with Cite Legifrance.
 * /CCOM, a subtemplate of Legifrance, returns a Legifrance url given an item number (and opt. 'type' indicator)
 * /runtime template name, determine which template a given template should call, based on a param
 * /CTRANSP, stub code des transports for testing
 * /Interpolated comment, to identify who wrote what on a talk page
 * /French translation prep, drop comma template
 * /Ui-citec, documentation for citec with params.
 * /codeorlang-to-lang, given iso code or language name return language name (or error msg)
 * /codeorlang-to-code, given iso code or language name return ISO-639 language code (or error msg)
 * /find dupes, return 0 if no duplicate param values passed to it, +number if not
 * /params for_each, a test bed to see what Module:Params does, and if it's helpful for pass-thru wrappers
 * /Remoteref, link to remote reference
 * Draft:Cite MLA, parsing MLA citations
 * /WikiProject talk other, add protected WikiProjects to Talk page; maybe not needed if we just use Draft other?
 * /WikiProject talk other/scdecode, subtemplate understands almost all common redirects.
 * User:Mathglot/Sandbox/Templates/WikiProject talk other/scdecode
 * /WikiProject talk other/scdecode why is this red?
 * /RecursionTester, in combo with:
 * /RecursionTester2
 * /Cite MLA, plaintxt MLA parsing (and 15 subtemplates)
 * /comparable countries, UTP advice about undoing an edit adding comparable county column mostly at HDI articles
 * /Legifrance/prefix, userfied from Template:Legifrance/prefix, per WP:TFD.
 * /Legifrance/CT from Template:Legifrance/CT
 * /Legifrance/Path from Template:Legifrance/Path
 * /Legifrance/path from Template:Legifrance/path