Boobpedia:New photographer
Boobpedia - Encyclopedia of big boobs
This article shows
- how to insert a photographer's name in the text of an article so that the model is automatically listed in the photographer's article,
- how to create an arcticle on a photographer.
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,
- displays an error if you do not specify a name.
Syntax
The syntax is very simple:
{{photographer|<name>|link=<text>|location=<text>|nocategory=<text>}}
name
- Text. The name of the photographer.
- Required.
- Please note that this parameter has no name. Simply type the photographer'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. This may be helpful if you use the template on a page that is not intended to be listed in the photographer's article (e. g. if you just mention a photographer on a discussion page).
- Optional.
<text>or the whole parameternocategory=<text>can be omitted.
Examples
| Article exists | |
|---|---|
| {{photographer|Martin Perreault}} | Martin Perreault |
| {{photographer|Martin Perreault|link=1}} | Martin Perreault |
| {{photographer|Martin Perreault|link=ok|location=y}} | Martin Perreault |
| {{photographer|Martin Perreault|location=yes}} | Martin Perreault |
| Article does not exist | |
| {{photographer|The Honorable|link=1|location=1}} | The Honorable |
| Required and optional parameters | |
| {{photographer|link=1|location=1}} | {{{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 photographer who has not a page yet. The simple sentence
- "Hexvoodoo always wanted to start a career as a photographer."
can become
if he really gets an article some day. :-)