Template:New photographer/doc: Difference between revisions

Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
No edit summary
No edit summary
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:{{REVISIONID}}||Page is being edited.|Pages exists.}}
{{#ifeq:{{PAGENAME}}|New photographer
{{#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:How to add a photographer]].</li><li>The instructions shown when a new photographer template is created can be seen below:</li></ul>}}
   |{{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:How to add a photographer]].</li><li>The instructions shown when a new photographer template is created can be seen below:</li></ul>}}
Line 26: Line 25:
Replace the data you want to change.
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).
Make sure you do not change anything else but the exact data you want to replace (name, website link or location). The code should read exactly like this (with <code>NAME</code>, <code>LINK</code> and <code>LOCATION</code> replaced by your values):


Click the '''Show preview''' button. {{photographer|{{PAGENAME}}|link=1|location=1|nocategory=1}}
<code><nowiki><includeonly>[[NAME]]{{#if: {{{link|}}}|&#32;([LINK website])}}{{#if: {{{location||}}}|, LOCATION}}</includeonly><noinclude></nowiki><br/>
<nowiki>{{documentation|Template:New photographer/doc}}</nowiki><br/>
<nowiki></noinclude></nowiki></code>


Save the page.
Save the page.

Revision as of 21:39, 4 June 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>
  • #<#/includeonly> by </includeonly>

Inside these new <includeonly> Tags, replace

  • ###NAME### by the photographer's exact name
  • ###LINK### by the complete link of the photographer's website, including http://
  • ###LOCATION### by the photographer's location. Example: Seattle, Washington, USA

Make sure that there are no triple ### left inside the <includeonly> tags. Do not change anything else!

Save the page.

If you want to change the photographer's data:

Go to the text inside the <includeonly> Tags (first line).

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). The code should read exactly like this (with NAME, LINK and LOCATION replaced by your values):

<includeonly>[[NAME]]{{#if: {{{link|}}}| ([LINK website])}}{{#if: {{{location||}}}|, LOCATION}}</includeonly><noinclude>
{{documentation|Template:New photographer/doc}}
</noinclude>

Save the page.