Template:Ep/doc: Difference between revisions
From Marvel Cinematic Universe Wiki
Content deleted Content added
No edit summary |
|||
| Line 7: | Line 7: | ||
== Syntax == |
== Syntax == |
||
<pre>{{ |
<pre>{{Ep|<!-- title of the episode/movie -->}}</pre> |
||
=== Parameters === |
|||
{| class="wikitable" width=100% |
|||
! Parameter |
|||
! Mandatory |
|||
! Description |
|||
! Default |
|||
|- |
|||
| <tt>{{{1}}}</tt> |
|||
| yes |
|||
| Used to détermine the title of the episode. It is caps unsensitive. |
|||
| |
|||
|- |
|||
| <tt>{{{2}}}</tt> |
|||
| no |
|||
| Used to determine the Base Pagename (Film/Episode/Credits/Quotes). Automaticaly designed to fit the current Base Pagename. |
|||
| <tt><nowiki>{{BASEPAGENAME}}</nowiki></tt> |
|||
|} |
|||
=== Example === |
=== Example === |
||
Revision as of 08:43, 4 December 2017
| This is a documentation subpage for Template:Ep. It contains usage information, categories and other content that is not part of the original template page. |
Usage
This template is used to create a link with the correct format to an episode or a film.
Syntax
{{Ep|<!-- title of the episode/movie -->}}
Parameters
| Parameter | Mandatory | Description | Default |
|---|---|---|---|
| {{{1}}} | yes | Used to détermine the title of the episode. It is caps unsensitive. | |
| {{{2}}} | no | Used to determine the Base Pagename (Film/Episode/Credits/Quotes). Automaticaly designed to fit the current Base Pagename. | {{BASEPAGENAME}} |
Example
| Usage | Rendering |
|---|---|
| {{Ep|Iron Man}} | Iron Man |
| {{Ep|iron man}} | Iron Man |
| {{Ep|Whatever}} | The 'Whatever' parameter is not referenced among the episodes/films. Please check the parameter or modify the {{ep}} template. |
