User:Thomas Blomberg/Tools
This is my collection of useful tools
My tools
[edit]- The Wiki cheatsheet
- User:Ohconfucius/script/MOSNUM dates - for harmonising dates in an article
- IEC for details about cinematographers
- Template:Infobox film
Useful templates for external film references:
[edit]* {{BFI Explore| id |title}}
BFI Explore database* {{Screenonline title|id|title}}
BFI Screenonline title* {{Screenonline name|id|name}}
BFI Screenonline person* {{BBFC title|id|title}}
BBFC database* {{Bfidb title|id|title}}
BFI old database titles DEAD* {{Bfidb series|id|title}}
BFI old database series DEAD* {{Britmovie title | id |title}}
Britmovie title* {{IMDb title|id|title}}
IMDb* {{IMDb name|ID|Name}}
IMDb person* {{IMDb company|ID|Company}}
IMDb company* {{AFI film|id|Title}}
AFI database* {{tcmdb title|id|title}}
TCM database* {{sfdb title|id|title}}
Swedish Film Database database* {{DFDb title|ID|Name}}
Danish Film Database database* {{Rotten Tomatoes | id | title }}
Rotten Tomatoes
Templates for automatic multi-column creation:
[edit]{{div col}}
is placed at the top of the column. This creates 2 columns automatically. If more columns are needed, the variant{{div col|cols=3}}
can be used, where the "cols" value sets the number of columns. The disadvantage with the "cols=number" solution is that the number of columns are fixed regardless of the page width used. Because of this, the following solution is probably better:{{div col|colwidth=25em}}
This creates a flexible column list based on column width: with normal page widths it creates 3 columns, but if the page is displayed widely enough it can be a 5 column list, but the more narrow the page, the fewer number of columns. "colwidth=20em" creates more columns, at standard page width 4, as the column width is more narrow. Can be ideal for short book or film title lists. "colwidth=30em" creates fewer but wider columns, with standard page width 2. Once the width is down to 1 column, the rows start to wrap if the page width is less than the set column width.{{div col end}}
is placed at the end after each of the above
- Template:Div col has more details.
{{columns-list|2|
is placed at the top of the column. The value sets number of columns. CSS styles, such as italics, can be added.}}
is placed at the end.
- Template:Columns-list has more details
Templates for multi-column reference lists:
[edit]{{Reflist|2}}
This creates the number of columns indicated after the "|", and that number remains whatever the width of the display.{{Reflist|30em}}
This creates a flexible column list based on column width: with normal page widths it creates 3 columns, but if the page is displayed widely enough it can be a 5 column list, but the more narrow the page, the fewer number of columns. "colwidth=40em" creates fewer but wider columns, with standard page width 2. Once the width is down to 1 column, the rows start to wrap if the page width is less than the set column width.
Date format template:
[edit]Hidden template which tags pages that should have dmy dates, to simplify maintenance (description under Template:Use dmy dates):
{{Use dmy dates|date=Month Year}}
Spelling templates:
[edit]Hidden template which tags that the page should have British English spelling, to simplify maintenance (description under Template:Use British English):
{{Use British English|date=Month Year}}
This is my collection of useful tools:
Size change template
[edit]{{small|(UK)}}
shrinks the font size. Useful in film infoxes when adding country to distribution companies. Example:- Radio Pictures Ltd (UK)
- Follows the same solution as the country field does in the
{{film date|YYYY|MM|DD|Country}}
template, used in the line under distribution - Description under Template:Small
Solutions and templates for inline Wiki interlanguage links:
[edit](see more at Help:Interlanguage links:
[[:es:Nahuel Pérez Biscayart|Nahuel Pérez Biscayart]]
creates a light blue link to the Spanish Wiki: Nahuel Pérez Biscayart.- My own variant, used both in the cast list for Patagonia (film) and in the list of famous scientists from the Dutch city of Deventer, which makes it clear that it's an interlanguage link as opposed to a link within English Wiki:
- Nahuel Pérez Biscayart (in Spanish Wikipedia) as Alejandro (
[[:es:Nahuel Pérez Biscayart|Nahuel Pérez Biscayart ''(in Spanish Wikipedia)'']]
- Hendrik van Deventer (in Dutch Wikipedia) M.D. (1651–1724), considered the world's foremost obstetrician and gynaecologist at the time
{{ill|es|Enrique Borrás}}
creates a red link with blue language code, meaning there's no English article, but there is a Spanish one: Enrique Borrás{{ill2}}
is the same template in a form that displays several language links:{{ill2|Christer Kihlman|sv|Christer Kihlman|fi|Christer Kihlman|no|Christer Kihlman}}
returns: Christer Kihlman . First article name is the proposed English name when an English article is made, while the ones after the language codes are those used by that Wiki language version.
Table of Content templates:
[edit]{{TOC right}}
This template moves the TOC to the right. Useful when the table is very long, especially if there are no pictures on the right side.{{TOC limit}}
This template defaults to including only the first- and second-level headings, i.e. those numbered "1" and "1.1" in the TOC.{{TOC hidden}}
This changes the TOC display default to hidden instead of viewed.- __NOTOC__ (can appear anywhere in the wikitext; suppresses the table of contents)
Template for publishing old Swedish photographs:
[edit](although the date for press photos should probably be changed to 1 July 1969):
{{PD-Sweden}}
It can be found at commons:Template:PD-Sweden and en:Template:PD-Sweden and looks like this:
This Swedish photograph is free to use under one of the following cases:
| |||||
|