Template:AlloCiné title

From blackwiki
Revision as of 12:54, 12 August 2018 by blackwiki>Zyxw (When ID not specified, use Wikidata property P1265 if available and add edit link. Display message if no ID and no Wikidata. Add fix for empty name parameter.)
Jump to navigation Jump to search

{{{title}}} at AlloCiné Template:Fr icon

Template documentation[view] [edit] [history] [purge]

Template:Template redirect Template:Uses Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).

Template:AlloCiné title displays an external link to a film page at AlloCiné. It is intended for use in the external links section of an article.

Usage

One parameter:

{{AlloCiné title | ID }}
{{AlloCiné title | id= ID }}

Two parameters:

{{AlloCiné title | ID | TITLE }}
{{AlloCiné title | id= ID | title= TITLE }}
{{AlloCiné title | id= ID | titre= TITLE }}

Using Wikidata property Template:Property:

{{AlloCiné title}}
{{AlloCiné title | title= TITLE }}
{{AlloCiné title | titre= TITLE }}

Examples

http://www.allocine.fr/film/fichefilm_gen_cfilm=236147.html

One parameter:

  1. * {{AlloCiné title | 236147 }}
  2. * {{AlloCiné title | id= 236147 }}

Two parameters:

  1. * {{AlloCiné title | 236147 | Comment c'est loin }}
  2. * {{AlloCiné title | id= 236147 | title= Comment c'est loin }}
  3. * {{AlloCiné title | id= 236147 | titre= Comment c'est loin }}

No ID in template or Wikidata:

* {{AlloCiné title}}

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for AlloCiné title

This template displays an external link to a film page at AlloCiné. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

ID number used in the URL. Example: 236147 in http://www.allocine.fr/film/fichefilm_gen_cfilm=236147.html. This parameter is optional if Wikidata property P1265 exists, but required if not.

Default
Wikidata property P1265
Numberoptional
Titletitle titre 2

Name displayed as the link text. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(film)".

Default
{{PAGENAMEBASE}}
Stringoptional

See also