== Inserting a photographer's name using the photographer template ==
=== Functionality ===
The photographer template
* automatically displays a link to the photographer's article if it exists,
* displays only normal text if the photographer does not have an article yet, but will automatically turn into a link if such an article is created,
* automatically displays further information on the photographer (home page link, location) if you activate this feature,
* automatically displays new photographer data in your article if it changes (e. g. new home page) so that you will never have to rewrite your article,
* automatically adds a category to your article so that your model is listed on the photographer's page,
* offers the possibility to suppress the category addition to an article,
* Please note that this parameter has no name. Simply type the photographer's name '''without''' a parameter name.
<code>'''link'''</code>
* Any text. You can use "1", "y" or whatever you like. As soon as the parameter has any content, the home page link is displayed.
* Optional. <code>''<text>''</code> or the whole parameter <code>link=''<text>''</code> can be omitted.
<code>'''location'''</code>
* Any text. You can use "1", "y" or whatever you like. As soon as the parameter has any content, the location is displayed.
* Optional. <code>''<text>''</code> or the whole parameter <code>location=''<text>''</code> can be omitted.
<code>'''nocategory'''</code>
* Any text. You can use "1", "y" or whatever you like. As soon as the parameter has any content, no category is added to your article.
* Optional. <code>''<text>''</code> or the whole parameter <code>nocategory=''<text>''</code> can be omitted.
* '''Important:''' It is highly recommended that you '''always''' specify this parameter on pages that are '''not''' model articles (e. g. on a photographer page: ''"His work was influenced by <nowiki>{{photographer|Steve Diet Goedde|</nowiki>'''nocategory=1'''}}."''). Otherwise the photographer would be listed as a big bust model on {{photographer|Steve Diet Goedde|nocategory=1}}'s page.
* '''Important:''' You should also specify this parameter if you mention a photographer on the page of a model that has '''not''' worked with him, but is otherwise related to him (e. g. ''"At Glamourcon 42 she was seen together with photographer <nowiki>{{photographer|XY|</nowiki>'''nocategory=1'''}}."''). Otherwise she would be listed on XY's page as if she had worked with him.
There are no restrictions. The template can be used anywhere within the text of an article.
You should, however, be aware that the layout of your text may change in an undesirable way if you specify all parameters for a photographer who does not have a page yet. The simple sentence
: "Hexvoodoo always wanted to start a career as a photographer."
can become
: "[[user:Hexvoodoo|Hexvoodoo]] ([http://www.boobpedia.com home page]), Boobtown, Boobland always wanted to start a career as a photographer."
if he really gets a photographer page some day. :-)
== Adding a photographer to an article without mentioning him in the text ==
== Adding a photographer to an article without mentioning him in the text ==
Revision as of 11:42, 4 June 2008
This page is a how-to guide detailing a practice or process on Boobpedia.
This article shows
how to insert a photographer's name in the text of an article so that the model is automatically listed on the respective photographer page,
how to add a photographer to an article without mentioning his name in the text,
Adding a photographer to an article without mentioning him in the text
If you do not want to mention the photographer's name in the text of your article, but would like your model to be listed on the photographer's page, just add a category at the end of your page:
[[Category:<name> models]]
<name>
Text. The name of the photographer.
Your model will be automatically listed on the photographer's page.
Note: If the photographer page does not yet exist, a category link to a non-existing page will be created at the bottom of your page. For more information on how to create a photographer page, see below: Creating a photographer page
Creating a photographer page
If you want to create a photographer page that automatically lists the models that have his name mentioned in their article, you cannot just create an article. There are three steps that have to be followed. You have to
create a template for the photographer,
create a page for the photographer,
create a category for the photographer.
You can use the buttons below to create all three and follow the instructions given on the respective new pages.
Template
This special template is the photographer's "own" template and contains his data. It is not the same as the general photographer template used to insert a photographer's name into the text of an article. If you need to change the photographer's data later (e. g. if he/she has a new home page), change this template.
Use the input box below to create a new template for your photographer.
Note: Do not delete the "Template:" prefix in the input box!
Follow the instructions given on the new page and return to this page when you are done.
Follow the next two steps.
Page
This is the page needed for links to the photographer and if someone types the name in the search box. It simply redirects to the category page of the photographer.
Use the input box below to create a new page for your photographer.
Follow the instructions given on the new page and return to this page when you are done.
Follow the next step.
Category
This is the "main" page of the photographer. You can edit it like you are used to edit articles. You can add a biobox and all the information you want to provide about the photographer. The models who have the photographer's name mentioned in their article (if the photographer template has been used) will automatically appear below the text of your new page.
Use the input box below to create a new category for your photographer.
Note: Do not delete the "Category:" prefix and the "models" in the input box!
This creates a predefined photographer category page. For further explanations, read the comments in the editing box of the new page.