Boobpedia:New photographer: Difference between revisions
No edit summary |
No edit summary |
||
| Line 6: | Line 6: | ||
* how to create a photographer page. | * how to create a photographer page. | ||
{{Template:Nonperformer/doc}} | |||
== 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 02:55, 19 July 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,
- how to create a photographer page.
The templates {{Photographer}}, {{Director}}, {{Fashion designer}}, {{Sculptor}}, {{Painter}} and {{Make-up artist}} are metatemplates that use the information stored in data container templates. They work
- as inline templates to display a person's name and additional information,
- as category header templates to display a header for the person's own category, like XY models or XY actresses.
Inline
Functionality
In the simplest case, the template only displays the person's name as if you wrote it in plain text. But is has several extra featues. It
- automatically displays a link to the person's article if this article exists,
- displays only normal text if the person 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 person (website link, location) if you activate this feature,
- automatically displays new personal data in your article if it changes (e. g. new website) so that you will never have to rewrite your article,
- automatically adds a category to the article the person is mentioned in, so that your model or actress is listed on the person's page,
- offers the possibility to suppress the category addition to an article,
- displays an error if you do not specify a name.
Syntax
{{photographer|<name>|link=<text>|location=<text>|nocategory=<text>}}
<name>
- Text. The name of the person.
- Required.
- Please note that this parameter has no name. Simply type the person's name without a parameter name.
link
- 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.
<text>or the whole parameterlink=<text>can be omitted.
location
- Any text. You can use "1", "y" or whatever you like. As soon as the parameter has any content, the location is displayed.
- Optional.
<text>or the whole parameterlocation=<text>can be omitted.
nocategory
- 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.
<text>or the whole parameternocategory=<text>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 {{photographer|Steve Diet Goedde|nocategory=1}}."). Otherwise the photographer would be listed as a big bust model on Steve Diet Goedde's page.
- Important: You should also specify this parameter if you mention a person 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 {{photographer|XY|nocategory=1}}."). Otherwise she would be listed on XY's page as if she had worked with him.
Examples
- Article exists
{{photographer|Gil Perron}}gives Gil Perron.{{photographer|Gil Perron|link=1}}gives Gil Perron.{{photographer|Gil Perron|link=ok|location=y}}gives Gil Perron.{{photographer|Gil Perron|location=yes}}gives Gil Perron.
- Article does not exist
{{photographer|The Honorable|link=1|location=1}}gives The Honorable.
- Required and optional parameters
{{photographer|link=1|location=1}}gives {{{1}}}.
Usability
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 person who does not have a page yet. The simple sentence
{{director|Hexvoodoo|link=1|location=1}} always wanted to start a career as a director.- "Hexvoodoo always wanted to start a career as a director."
can become
if he really gets his own director page some day. :-)
Header
Functionality
If used as a header, the template shows a typical category header with the person's data in it, along with existing sister categories associated with this person. Categories displayed:
- models (for photographers)
- actresses (for directors)
- films (for directors)
- photos (for photographers)
- fashion (for fashion designers)
- sculptures (for sculptors)
- paintings (for painters)
- make-ups (for make-up artists)
Syntax
{{photographer|<name>|header=<text>}}
<name>
- Text. The name of the person.
- Required.
- Please note that this parameter has no name. Simply type the person's name without a parameter name.
header
- Any text. You can use "1", "y" or whatever you like. As soon as the parameter has any content, a category header will be displayed instead of the inline text.
- Required (if a header is to be displayed).
All other parameters are ignored. The nocategory parameter is not necessary; a category will not be added to the page the template is used on as a header.
Examples
{{photographer|Gil Perron|header=1}}gives
Gil Perron.
Usability
If used as a header, the template should only be added at the top of category pages.
Changing a person's data
Please note that this template itself does not store any information about a single person. It is only a metatemplate that uses the specific data container templates to display the desired data.
If you want to change the data of a person (for example when his website has changed), go to the person's own data container template and change it.
- Example
To change Gil Perron's website,
- go to Category:Data container templates, then Category:Photographer templates;
- choose Gil Perron's template and click on the edit tab;
- follow the instructions given in the section If you want to change the photographer's data:.
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 an article,
- create a category,
- create a template.
You can use the buttons below to create all three and follow the instructions given on the respective new pages.
Article
This is the main page for the photographer. It contains the biobox and everything you want to write about him.
- Use the input box below to create a new article for your photographer.
- This creates a predefined photographer article. Follow the instructions and comments given on the new page and return to this page when you are done. You can add text and details later.
- Follow the next two steps.
Category
This is the category that contains the models your photographer has worked with. Models who have the photographer's name mentioned in their article (if the photographer template has been used) will automatically appear in your category.
- 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 which includes the text of your article. Follow the instructions given on the new page and return to this page when you are done.
- Follow the next step.
Template
This special template is a "data container" for your photographer. Editors can insert the name of your photographer in an article by using the {{Photographer}} template which gets the photographer data from the template you are creating now. 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.
- You can continue working on your main article now.
