Difference between revisions of "Template:Film dab"

From blackwiki
Jump to navigation Jump to search
imported>PC78
(sp)
imported>PC78
(add documentation)
 
Line 1: Line 1:
[[{{{1}}} ({{#if:{{{2|}}}|{{{2}}}{{sp}}}}film)|''{{{1}}}'' ({{#if:{{{2|}}}|{{{2}}}{{sp}}}}film)]]
+
[[{{{1}}} ({{#if:{{{2|}}}|{{{2}}}{{sp}}}}film)|''{{{1}}}'' ({{#if:{{{2|}}}|{{{2}}}{{sp}}}}film)]]<noinclude>
 +
{{Documentation}}
 +
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here -->
 +
</noinclude>

Latest revision as of 20:21, 7 September 2019

[[{{{1}}} (film)|{{{1}}} (film)]]

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

Usage

This template provides correct formatting of disambiguated film titles where it is necessary to display the full page title but with the film title in italics, e.g. on disambiguation pages.

Normally this would be done the following way:

  • [[Captain Marvel (film)|''Captain Marvel'' (film)]]

The template aims to simplify this, so by using:

the film title is rendered in italics and the "(film)" suffix is added automatically, i.e.

For articles with more specific disambiguation, the template supports a second unnamed parameter, so:

will display as:

Further examples