Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a22cab01f8ae227c

Jump to content

Template:Based on/doc

From Wikipedia, the free encyclopedia

This template should be used for the parameter |based_on= of templates such as {{Infobox film}}, {{Infobox television}}, {{Infobox opera}} and {{Infobox musical composition}}. It creates an automatic line break between the original work title and its creator(s). Multiple writers can be specified with an arbitrary number of additional parameters. <br /> was historically used for separating writers before support for multiple parameters was added. See Manual of Style (titles) for the proper way of displaying the title of the source material. Do not use this field where the source material is ambiguous, i.e. in cases of films that are not clearly or officially based on one original work.

This template may also be used for some other purposes. The aliases {{Work by author}} and {{Theme song}} may be used.

Usage

[edit]

{{Based on|title of the original work|creator of the original work}}

Parameters

[edit]

Most parameters do not need to be named. For example, {{Based on|Work|Author}} will render the same as {{Based on|1=Work|2=Author}}. The only exception is |indent=, which will not be applied by default.

Parameter Explanation
1The name of the original work
2, 3, 4...The name(s) of the creator(s) of the original work
indentApplies indentation to all creator(s) when set to affirmative (yes, y, 1). Optional parameter

Examples

[edit]

Standard

[edit]
Based on
Parfumerie
by Miklós László
{{Based on|''Parfumerie''|[[Miklós László]]}}
Based on
{{Based on|"[[Supertoys Last All Summer Long]]"|[[Brian Aldiss]]}}
Based on
Dash & Lily's Book of Dares
by 
{{Based on|''[[Dash & Lily's Book of Dares]]''|[[Rachel Cohn]]|and [[David Levithan]]}}

Indentation

[edit]
Based on
Parfumerie
by Miklós László
{{Based on|''Parfumerie''|[[Miklós László]]|indent=yes}}
Based on
{{Based on|"[[Supertoys Last All Summer Long]]"|[[Brian Aldiss]]|indent=y}}
Based on
{{Based on|''[[Dash & Lily's Book of Dares]]''|[[Rachel Cohn]]|and [[David Levithan]]|indent=yes}}

See also

[edit]