Template:New film/doc: Difference between revisions

Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 4: Line 4:
   |{{ambox | text = This template is a metatemplate used to create a new '''film template'''. It provides the necessary code and instructions how to adapt the code when adding a new film.<br/><ul><li>For details how to add a film with all necessary pages, see [[Boobpedia:New film]].</li><li>The instructions shown when a new film template is created or edited can be seen below:</li></ul>}}}}  
   |{{ambox | text = This template is a metatemplate used to create a new '''film template'''. It provides the necessary code and instructions how to adapt the code when adding a new film.<br/><ul><li>For details how to add a film with all necessary pages, see [[Boobpedia:New film]].</li><li>The instructions shown when a new film template is created or edited can be seen below:</li></ul>}}}}  
<includeonly>{{film|{{PAGENAME}}|style=infobox}}</includeonly>
<includeonly>{{film|{{PAGENAME}}|style=infobox}}</includeonly>
The documentation on this page is generated automatically for all film templates. The advantage of using templates for a film rather than mere articles is that the template can have different styles, but all contain the same data. You can use the template inline in articles, create filmography entries or put it in an article as a whole infobox.
* If you want to add a new film to Boobpedia, see [[Boobpedia:New film]].
* If you want to know more about how to use the {{tl|film}} template, see {{tl|film}}.
* If you want to edit the data of {{PAGENAME}}, click on the '''edit''' tab and change the data. You can view all different styles of your template and the effect of your changes on this page.<br>'''Note:''' Clicking the preview button does not display your changes. You have to save the page!
== If you are creating this page: ==
== If you are creating this page: ==
The first thing you have to do is to go to the first line and replace
The first thing you have to do is to go to the first line and replace
Line 17: Line 13:
* <code>#&lt;#/includeonly></code> by <code>&lt;/includeonly></code>. Do '''not''' delete the <code>&lt;/includeonly></code>, delete '''only''' the <code>#</code> signs!
* <code>#&lt;#/includeonly></code> by <code>&lt;/includeonly></code>. Do '''not''' delete the <code>&lt;/includeonly></code>, delete '''only''' the <code>#</code> signs!


Then you can fill the parameters with the data of the film.
Save the page.


== Usage ==
'''Note: Do not bother if you do not see any changes after you saved the page for the first time.''' Clicking on the '''edit''' tab again will show the changes. Saving the template again will show them permanently.
=== Inline ===
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>|year=1|director=1}}</nowiki></code> gives <includeonly>{{film|{{PAGENAME}}|year=1|director=1}}</includeonly>
* <code><nowiki>{{film|</nowiki>{{PAGENAME}}<nowiki>|year=1}}</nowiki></code> gives <includeonly>{{film|{{PAGENAME}}|year=1}}</includeonly>
* <code><nowiki>{{film|</nowiki>{{PAGENAME}}<nowiki>|director=1}}</nowiki></code> gives <includeonly>{{film|{{PAGENAME}}|director=1}}</includeonly>


* <code><nowiki>{{film|</nowiki>Boobpedia test film<nowiki>|year=1|director=1}}</nowiki></code> gives <includeonly>{{film|Boobpedia test film|year=1|director=1}}</includeonly>
You can fill in the parameters with the film data later.


=== Simple filmography entry (style = list) ===
== If you want to change film data: ==
* To use {{tl|{{PAGENAME}}}} as a simple filmography entry, set the '''style''' parameter to ''list''.
This documentation is automatically generated for all film templates. It shows all different styles of your template and the effect of your changes. Click on the '''edit''' tab to change the data.
* The style of {{tl|filmography start}} defaults to ''list'', so it is not necessary to set it explicitly.


<code><nowiki>{{filmography start}}</nowiki><br><nowiki>
'''Note: Clicking the preview button does not display your changes. You have to save the page!'''
{{film|</nowiki>{{PAGENAME}}<nowiki>|style=list}}</nowiki><br><nowiki>
{{filmography end}}</nowiki></code>


<includeonly>{{filmography start}}
=== Inline ===
{{film|{{PAGENAME}}|style=list}}
<code><nowiki>{{film|</nowiki>{{PAGENAME}}<nowiki>|year=1|director=1}}</nowiki></code> gives <includeonly>{{film|{{PAGENAME}}|year=1|director=1}}</includeonly>.
{{filmography end}}</includeonly>


=== Full filmography entry (style = listfull) ===
For other inline uses, see {{tl|Film}}.
* To use {{tl|{{PAGENAME}}}} as a full filmography entry, set the '''style''' parameter to ''listfull'' (adds the "Director" and "Starring" column).
* Do not forget to set the style parameter of {{tl|filmography start}} to ''listfull'' too.


=== Filmography entry ===
<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>
{{filmography end}}</nowiki></code>
{{filmography end}}</nowiki></code>
gives


<includeonly>{{filmography start|style=listfull}}
<includeonly>{{filmography start|style=listfull}}
Line 53: Line 40:
{{filmography end}}</includeonly>
{{filmography end}}</includeonly>


=== Infobox (style = infobox) ===
For other filmography uses, see {{tl|Film}}.
* To display {{tl|{{PAGENAME}}}} as an infobox, set the '''style''' parameter to ''infobox''.


=== Infobox ===
<code><nowiki>{{film|</nowiki>{{PAGENAME}}<nowiki>|style=infobox}}</nowiki></code>
<code><nowiki>{{film|</nowiki>{{PAGENAME}}<nowiki>|style=infobox}}</nowiki></code>


See infobox to the right.
gives: See infobox to the right.


== See also ==
== See also ==

Latest revision as of 20:08, 3 August 2008

This is a documentation subpage for Template:New film (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.


If you are creating this page:

The first thing you have to do is to go to the first line and replace

  • #<#includeonly> by <includeonly>. Do not delete the <includeonly>, delete only the # signs!

Go to the bottom and replace

  • #<#/includeonly> by </includeonly>. Do not delete the </includeonly>, delete only the # signs!

Save the page.

Note: Do not bother if you do not see any changes after you saved the page for the first time. Clicking on the edit tab again will show the changes. Saving the template again will show them permanently.

You can fill in the parameters with the film data later.

If you want to change film data:

This documentation is automatically generated for all film templates. It shows all different styles of your template and the effect of your changes. Click on the edit tab to change the data.

Note: Clicking the preview button does not display your changes. You have to save the page!

Inline

{{film|New film/doc|year=1|director=1}} gives .

For other inline uses, see {{Film}}.

Filmography entry

{{filmography start|style=listfull}}
{{film|New film/doc|style=listfull}}
{{filmography end}}

gives


For other filmography uses, see {{Film}}.

Infobox

{{film|New film/doc|style=infobox}}

gives: See infobox to the right.

See also

  • Boobpedia:New film - if you want to add a new film to Boobpedia
  • {{Film}} - if you want to know more about how to use the {{Film}} template (inline, filmographies, infobox)