Template:New film/doc: Difference between revisions

Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
No edit summary
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{#ifeq:{{PAGENAME}}|New film
  |{{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>
== Usage ==
== If you are creating this page: ==
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.
The first thing you have to do is to go to the first line and replace
* If you want to add a new film to Boobpedia, see [[Boobpedia:New film]].
 
* If you want to add a filmography to an article, see {{tl|filmography start}}.
* <code>#&lt;#includeonly></code> by <code>&lt;includeonly></code>. Do '''not''' delete the <code>&lt;includeonly></code>, delete '''only''' the <code>#</code> signs!
* 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!
 
=== Inline ===
Go to the bottom and replace
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>#&lt;#/includeonly></code> by <code>&lt;/includeonly></code>. Do '''not''' delete the <code>&lt;/includeonly></code>, delete '''only''' the <code>#</code> signs!
* <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>
Save the page.
* <code><nowiki>{{film|</nowiki>{{PAGENAME}}<nowiki>|director=1}}</nowiki></code> gives <includeonly>{{film|{{PAGENAME}}|director=1}}</includeonly>
 
'''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.


* <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.


<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|director=Testman}}
<code><nowiki>{{film|</nowiki>{{PAGENAME}}<nowiki>|year=1|director=1}}</nowiki></code> gives <includeonly>{{film|{{PAGENAME}}|year=1|director=1}}</includeonly>.
{{film|Boobpedia Test Film|style=list|released=[[April 1]], [[1920]]|distributor=Testributor|starring=Dekkappai|director=Testman|notes=Testnotes}}
{{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).


=== 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}}
{{film|{{PAGENAME}}|style=listfull|director=Testman}}
{{film|{{PAGENAME}}|style=listfull}}
{{film|Boobpedia Test Film|style=listfull|released=[[April 1]], [[1920]]|distributor=Testributor|starring=Dekkappai|director=Testman|notes=Testnotes}}
{{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 ==
* [[Boobpedia:New film]] - if you want to add a new film to Boobpedia
* [[Boobpedia:New film]] - if you want to add a new film to Boobpedia
* {{tl|filmography start}} - if you want to add a filmography to an article
* {{tl|film}} - if you want to know more about how to use the {{tl|film}} template (inline, filmographies, infobox)
 
<includeonly>
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->

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)