Tests of these templates (and others) at User:Mathglot/sandbox/Test pages.
my Templates
edit- 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:Fake heading - per Template talk:Fake heading#Edit request: new param "anchor"
- /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#Flagging a CWW article as needing translation attribution
- /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#Template:Brazil glossary term.
- /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.,
|Corruption in
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#Error?
- /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#Using wd extraction for nav template translation. Mathglot (talk) 01:11, 23 May 2021 (UTC)
- /Welcome-foreign, to consolidate all the foreign language templates at WP:WT#Non-English. Uses subpages:
- /Deletion process cheat sheet2 (will be used to tweak Template:Deletion process cheat sheet to update it.
- /Afd top box
- /Interpolated comment, nominated at Tfd, moved here instead.
- /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#Param search-domain
- /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 T257394
- /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 T257394 was open
- /User5xx, save from Afd deletion
- /Alberta templates (subdirectory) where the following four should be moved:
- /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#Template:Legifrance/CT and other subpages.
- /Recur-A, /Recur-B, to demonstrate template recursion possibilities and prohibitions
- /ten expensive calls, a template that does ten expensive calls
- /3O-decline
- /xviews, displays page views graph for a given pageviews dump file; uses subtemplates to do the work.
- /item bar, calls vbar to generate one bar for a page view item relative to the max, given pageviews filename, item number, and a max views value.
- /vbar, displays a bar for a given value
- /vbar/styles.css, TemplateStyles
- /max views, given a page views dump filename, returns maximum page view value
- /view count, give a page views dump filename, returns the count of page view values
- /nth view, return a date:views item from the page views file
- /xlabel, returns a normalized form of the date for bar identification; currently, just drops the year.
- /x-axis, wrapper for {{horizontal timeline}}; generates an x-axis for a given pageviews file based on max value
- /age, returns age of pageviews file in days.
- /Line2bar, given a massaged page views dump and a line number, grabs metadata plus one line from the dump and calls vbar (obsolete; earlier version of /item bar)
- /Article length bar/L0, /Article length bar/L1, /Article length bar/L2, pseudo-globals for {{Albar}}.
- /Brazilian judicial codes, navbox, all {{ill}} red links at this point, with blue links to pt-wiki
See also
edit- VTE (V-T-E; view-talk-edit)
- {{Operation Car Wash sidebar}}, rev. 928184828
- {{navbar}}