User:Thomas Blomberg/Tools
From Wikipedia, the free encyclopedia
This is my collection of useful tools
My tools
- 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:
* {{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:
{{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:
{{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:
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:
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
{{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:
(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|Enrique Borrás|es}}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:
{{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:
(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:
- For images of an artistic or scientific significance (photographic works / fotografiska verk) , the image is public domain if
- a) if the photographer died before 1 January 1944, or
- b) if the photographer is not known, and cannot be traced, and the image was created before 1 January 1944.
- For photographic pictures (fotografiska bilder), such as images by the press, the image is public domain if created before 1 January 1976, in accordance with transitional regulations in Swedish law no. 1994:190.
- The photographer, if known, should always be attributed.
- Always provide source information.
This file is NOT necessarily in the public domain in the United States because a non-simple image can only be in the public domain in the U.S.:
- if it entered the public domain in Sweden prior to 1996 see Wikipedia:Non-U.S. copyrights), or
- when, after that date, its copyright term expires in accordance with U.S. law.
Information about the creation date and creator should be provided.
If the image is not in the public domain in the United States, in addition to the license tag for its status in Sweden an appropriate fair use license and rationale should be provided, or the image should be proposed for deletion.
If the media is in the public domain in both Sweden and the United States, it may be transferred to the Wikimedia Commons.
Note: If this image is in the public domain in the U.S., modify the end of the copyright tag from }} to |commons}}.
This will replace the preceding U.S. copyright notification with a nomination for this image to be moved to the Wikimedia Commons.