Template:New film/doc: Difference between revisions
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
'''Note:''' Clicking the preview button does not display your changes. You have to save the page! | '''Note:''' Clicking the preview button does not display your changes. You have to save the page! | ||
=== Inline === | === Inline === | ||
To mention {{tl|{{PAGENAME}}}} in an article's text, | To mention {{tl|{{PAGENAME}}}} in an article's text, use it without the '''style''' parameter. You can set '''year''' and/or '''director''' to display additional data. | ||
* <code><nowiki>{{film|</nowiki>{{PAGENAME}}<nowiki>}}</nowiki></code> gives <includeonly>{{film|{{PAGENAME}}}}</includeonly> | * <code><nowiki>{{film|</nowiki>{{PAGENAME}}<nowiki>}}</nowiki></code> gives <includeonly>{{film|{{PAGENAME}}}}</includeonly> | ||
* <code><nowiki>{{film|</nowiki>{{PAGENAME}}<nowiki>|year=1|director=1}}</nowiki></code> gives <includeonly>{{film|{{PAGENAME}}|year=1|director=1}}</includeonly> | * <code><nowiki>{{film|</nowiki>{{PAGENAME}}<nowiki>|year=1|director=1}}</nowiki></code> gives <includeonly>{{film|{{PAGENAME}}|year=1|director=1}}</includeonly> | ||
| Line 13: | Line 13: | ||
* <code><nowiki>{{film|</nowiki>{{PAGENAME}}<nowiki>|director=1}}</nowiki></code> gives <includeonly>{{film|{{PAGENAME}}|director=1}}</includeonly> | * <code><nowiki>{{film|</nowiki>{{PAGENAME}}<nowiki>|director=1}}</nowiki></code> gives <includeonly>{{film|{{PAGENAME}}|director=1}}</includeonly> | ||
=== | === Simple filmography entry (style = list) === | ||
To use {{tl|{{PAGENAME}}}} as a filmography entry, set the '''style''' parameter to ''list'' | To use {{tl|{{PAGENAME}}}} as a simple filmography entry, set the '''style''' parameter to ''list''. | ||
<code><nowiki>{{filmography start}}</nowiki><br><nowiki> | <code><nowiki>{{filmography start}}</nowiki><br><nowiki> | ||
{{film|</nowiki>{{PAGENAME}}<nowiki>|style=list}}</nowiki><br><nowiki> | {{film|</nowiki>{{PAGENAME}}<nowiki>|style=list}}</nowiki><br><nowiki> | ||
| Line 24: | Line 24: | ||
{{filmography end}}</includeonly> | {{filmography end}}</includeonly> | ||
==== | === Full filmography entry (style = listfull) === | ||
To use {{tl|{{PAGENAME}}}} as a full filmography entry, set the '''style''' parameter to ''listfull'' (adds the "Director" and "Starring" column). | |||
<code><nowiki>{{filmography start|style=listfull}}</nowiki><br><nowiki> | <code><nowiki>{{filmography start|style=listfull}}</nowiki><br><nowiki> | ||
{{film|</nowiki>{{PAGENAME}}<nowiki>|style=listfull}}</nowiki><br><nowiki> | {{film|</nowiki>{{PAGENAME}}<nowiki>|style=listfull}}</nowiki><br><nowiki> | ||
| Line 33: | Line 35: | ||
{{filmography end}}</includeonly> | {{filmography end}}</includeonly> | ||
=== Infobox === | === Infobox (style = infobox) === | ||
To display {{tl|{{PAGENAME}}}} as an infobox, set the '''style''' parameter to ''infobox''. | To display {{tl|{{PAGENAME}}}} as an infobox, set the '''style''' parameter to ''infobox''. | ||
<code><nowiki>{{film|</nowiki>{{PAGENAME}}<nowiki>|style=infobox}}</nowiki></code> | <code><nowiki>{{film|</nowiki>{{PAGENAME}}<nowiki>|style=infobox}}</nowiki></code> | ||
Revision as of 04:58, 3 August 2008
Usage
On this page you can view all different styles of your template and the effect of your changes.
Note: Clicking the preview button does not display your changes. You have to save the page!
Inline
To mention {{New film/doc}} in an article's text, use it without the style parameter. You can set year and/or director to display additional data.
{{film|New film/doc}}gives{{film|New film/doc|year=1|director=1}}gives{{film|New film/doc|year=1}}gives{{film|New film/doc|director=1}}gives
Simple filmography entry (style = list)
To use {{New film/doc}} as a simple filmography entry, set the style parameter to list.
{{filmography start}}
{{film|New film/doc|style=list}}
{{filmography end}}
Full filmography entry (style = listfull)
To use {{New film/doc}} as a full filmography entry, set the style parameter to listfull (adds the "Director" and "Starring" column).
{{filmography start|style=listfull}}
{{film|New film/doc|style=listfull}}
{{filmography end}}
Infobox (style = infobox)
To display {{New film/doc}} as an infobox, set the style parameter to infobox.
{{film|New film/doc|style=infobox}}
See infobox to the right.