Template:New photographer/doc: Difference between revisions

Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
(New page: {{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> == If you are creating this page: == Go to the first line and replace * <code>#<#incl...)
 
No edit summary
 
(22 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 photographer
  |{{ambox | text = This template is a metatemplate used to create a new '''photographer template'''. It provides the necessary code and instructions how to adapt the code when adding a new photographer.<br/><ul><li>For details how to add a photographer with all necessary pages, see [[Boobpedia:New photographer]].</li><li>The instructions shown when a new photographer template is created can be seen below:</li></ul>}}
}}
== If you are creating this page: ==
== If you are creating this page: ==
Go to the first line and replace
Go to the first line and replace


* <code>#&lt;#includeonly></code> by <code>&lt;includeonly></code>
* <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>
 
Go to the bottom and replace
 
* <code>#&lt;#/includeonly></code> by <code>&lt;/includeonly></code>. Do '''not''' delete the <code>&lt;/includeonly></code>, delete '''only''' the <code>#</code> signs!


Inside these new <code><nowiki>&lt;includeonly&gt;</nowiki></code> Tags, replace
Fill in the data you want to add:


* <code>###NAME###</code> by the photographer's exact name
* '''name:''' The photographer's exact name
* <code>###LINK###</code> by the complete link of the photographer's website, including <code><nowiki>http://</nowiki></code>
* '''article:''' Name of the photographer's main article
* <code>###LOCATION###</code> by the photographer's location. Example: Seattle, Washington, USA
* '''image:''' Name of the photographer's image, only <code><nowiki>Example.jpg</nowiki></code>, '''not''' <code><nowiki>[[Image:Example.jpg|240px|Example]]</nowiki></code>!
* '''homepage:''' Complete link of the photographer's website, including <code><nowiki>http://</nowiki></code>
* '''location:''' Location where the photographer is based. Example: <code><nowiki>Seattle, Washington, USA</nowiki></code>
* '''occupation:''' Occupation(s) of the person. Example: <code><nowiki>{{np-photographer|Photographer}}</nowiki></code>
* '''field:''' Field(s) the person has worked in. Example: <code><nowiki>[[adult]]</nowiki></code>


Make sure that there are no triple <code>###</code> left inside the <code><nowiki>&lt;includeonly&gt;</nowiki></code> tags. Do not change anything else!
Do not change anything else!


Save the page.
Save the page.


== If you want to change the photographer's data: ==
== If you want to change the photographer's data: ==
Go to the text inside the <code><nowiki>&lt;includeonly&gt;</nowiki></code> Tags (first line).
Replace or add the data you want.
 
Replace the data you want to change.


Make sure you do not change anything else but the exact data you want to replace (name, website link or location).
Do not change anything else than the parameters at the beginning of the code!


Save the page.
Save the page.
Line 28: Line 36:
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
{{#ifeq:{{PAGENAME}}|New photographer
{{#ifeq:{{PAGENAME}}|New photographer
   |[[Category:Photographer templates| {{PAGENAME}}]][[Category:{{SITENAME}} metatemplates|{{PAGENAME}}]]
   |[[Category:Photographer templates| 2]][[Category:{{SITENAME}} metatemplates|{{PAGENAME}}]]
   |[[Category:Photographer templates|{{PAGENAME}}]]
   |[[Category:Photographer templates|{{PAGENAME}}]]
}}
}}
</includeonly>
</includeonly>

Latest revision as of 11:28, 31 July 2008

This is a documentation subpage for Template:New photographer (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:

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!

Fill in the data you want to add:

  • name: The photographer's exact name
  • article: Name of the photographer's main article
  • image: Name of the photographer's image, only Example.jpg, not [[Image:Example.jpg|240px|Example]]!
  • homepage: Complete link of the photographer's website, including http://
  • location: Location where the photographer is based. Example: Seattle, Washington, USA
  • occupation: Occupation(s) of the person. Example: {{np-photographer|Photographer}}
  • field: Field(s) the person has worked in. Example: [[adult]]

Do not change anything else!

Save the page.

If you want to change the photographer's data:

Replace or add the data you want.

Do not change anything else than the parameters at the beginning of the code!

Save the page.