Boobpedia:New photographer: Difference between revisions

Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
No edit summary
No edit summary
 
(51 intermediate revisions by the same user not shown)
Line 1: Line 1:
This article shows
{{how-to}}


* 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,
If you want to add a photographer to Boobpedia, you should consider not only to create an article, but to fully integrate him into the Boobpedia system. The procedure is simple: You have to
* how to add a photographer to an article without mentioning his name in the text,
* how to create a photographer page.


# create an article,
# create a template,
# create categories.


== Inserting a photographer's name using the photographer template ==
There are predefined "half-ready" pages that help you. You can use the buttons below to go through all three steps and follow the instructions given on the respective new pages.
=== Functionality ===
The photographer template


* automatically displays a link to the photographer's article if it exists,
== Article ==
* 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,
This is the main page for the photographer. It contains the biobox and everything you want to write about him.
* 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 ===
* Use the input box below to create a new article for your photographer.
The syntax is very simple:
* 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.


<nowiki>{{</nowiki>photographer|''&lt;name&gt;''|link=''&lt;text&gt;''|location=''&lt;text&gt;''|nocategory=''&lt;text&gt;''}}
<inputbox>
 
type=create
'''name'''
buttonlabel=Create photographer's article
* Text. The name of the photographer.
break=no
* Required.
default=[Enter photographer's name]
* Please note that this parameter has no name. Simply type the photographer's name '''without''' a parameter name.
preload=Template:New photographerarticle
 
</inputbox>
'''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. <code>''&lt;text&gt;''</code> or the whole parameter <code>link=''&lt;text&gt;''</code> 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. <code>''&lt;text&gt;''</code> or the whole parameter <code>location=''&lt;text&gt;''</code> 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. <code>''&lt;text&gt;''</code> or the whole parameter <code>nocategory=''&lt;text&gt;''</code> can be omitted.
 
=== Examples ===
{| border="0" cellspacing="0" cellpadding="4" style="text-align:center;border:1px solid #ccc;"
|- valign="center"
!colspan="2" style="background:#ccc;"| Article exists
|- style="background:#eee;"
| <nowiki>{{photographer|Martin Perreault}}</nowiki> || {{photographer|Martin Perreault|nocategory=1}}
|-
| <nowiki>{{photographer|Martin Perreault|link=1}}</nowiki> || {{photographer|Martin Perreault|link=1|nocategory=1}}
|- style="background:#eee;"
| <nowiki>{{photographer|Martin Perreault|link=ok|location=y}}</nowiki> || {{photographer|Martin Perreault|link=ok|location=y|nocategory=1}}
|-
| <nowiki>{{photographer|Martin Perreault|location=yes}}</nowiki> || {{photographer|Martin Perreault|location=yes|nocategory=1}}
|- valign="center"
!colspan="2" style="background:#ccc;"| Article does not exist
|- style="background:#eee;"
| <nowiki>{{photographer|The Honorable|link=1|location=1}}</nowiki> || {{photographer|The Honorable|link=1|location=1|nocategory=1}}
|- valign="center"
!colspan="2" style="background:#ccc;"| Required and optional parameters
|- style="background:#eee;"
| <nowiki>{{photographer|link=1|location=1}}</nowiki> || {{photographer|link=1|location=1|nocategory=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
 
: "[[user:Hexvoodoo|Hexvoodoo]] ([http://www.boobpedia.com home page]), Boobtown, Boobland always wanted to start a career as a photographer."
 
if he really gets an article some day. :-)


== Adding a photographer to an article without mentioning him in the text ==
== Template ==
If you do not want to mention the photographer' 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:
This special template is a "data container" for your photographer. Editors can insert the name of your photographer in an article by using the {{tl|photographer}} template which gets the data directly from the template you are creating now. Your template will also be used as a source for your photographer's categories. If you need to change the photographer's data later (e. g. if he/she has a new home page), change this template. Please note that changing any data in the photographer's article will not affect your template. You have to apply changes in both.
The syntax is very simple:
 
<nowiki>[[</nowiki>Category:''&lt;name&gt;'']]
 
'''name'''
* Text. The name of the photographer.
 
Your model will be automatically listed on the photographer's page.
 
Note: The photographer page must exist! Otherwise a category link to a non-existing page will be created in your model's page. For more information on how to a photographer page, see below: [[Help:How to add a photographer#Creating a photographer page|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 certain 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 ===
The template contains the data of the photographer and is responsible for showing it in the text of an article.


* Use the input box below to create a new template for your photographer.
* Use the input box below to create a new template for your photographer.
* Note: Do '''not''' delete the "Template:" prefix in the input box!
* 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 instructions given on the new page and return to this page when you are done.
* Follow the next two steps.
* Follow the next step.


<inputbox>
<inputbox>
Line 114: Line 40:
</inputbox>
</inputbox>


=== Page ===
== Categories ==
The page is 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.
A photographer can have a '''models''' and an '''photos''' category. Even if you did not mark any performer or image on Boobpedia with a category for your photographer, another one can have done so, and your new category already contains entries.


* Use the input box below to create a new page for your photographer.
=== Models ===
* Follow the instructions given on the new page and return to this page when you are done.
* 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 '''XY models''' category. Follow the instructions given on the new page and return to this page when you are done.
* Follow the next step.
* Follow the next step.


<inputbox>
<inputbox>
type=create
type=create
buttonlabel=Create photographer's page
buttonlabel=Create photographer's model category
break=no
break=no
default=[Enter photographer's name]
default=Category:[Enter photographer's name] models
preload=Template:New photographerpage
preload=Template:New photographercategory models
</inputbox>
</inputbox>


 
=== Photos ===
=== 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 [[Help:How to add a photographer#Inserting a photographer's name using the photographer template|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.
* Use the input box below to create a new category for your photographer.
* Note: Do '''not''' delete the "Category:" prefix in the input box!
* Note: Do '''not''' delete the "Category:" prefix and the "photos" in the input box!
* Remember to add <code><nowiki>[[</nowiki>Category:Photographers]]</code> to your new page so that it is listed in the [[:Category:Photographers|Photographers]] category.
* This creates a predefined '''XY photos''' category. Follow the instructions given on the new page.
* Known problems: If the automatically generated list of models on your page has several columns, the will overlay the biobox in certain cases. Workaround: Add as many <code><nowiki><</nowiki>br></code> tags at the end of your article as needed to "push" the model list down until it does not overlay the biobox any longer.  
* You can continue working on your main article now.


<inputbox>
<inputbox>
type=create
type=create
buttonlabel=Create photographer's category
buttonlabel=Create photographer's image category
break=no
break=no
default=Category:[Enter photographer's name]
default=Category:[Enter photographer's name] photos
preload=Template:New photographercategory photos
</inputbox>
</inputbox>
== See also ==
* [[New article]] - if your photographer has other occupations, you might want to go there in order to create further categories.
* {{tl|Photographer}}

Latest revision as of 22:38, 29 July 2008

This page is a how-to guide detailing a practice or process on Boobpedia.

If you want to add a photographer to Boobpedia, you should consider not only to create an article, but to fully integrate him into the Boobpedia system. The procedure is simple: You have to

  1. create an article,
  2. create a template,
  3. create categories.

There are predefined "half-ready" pages that help you. You can use the buttons below to go through all three steps 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.

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 data directly from the template you are creating now. Your template will also be used as a source for your photographer's categories. If you need to change the photographer's data later (e. g. if he/she has a new home page), change this template. Please note that changing any data in the photographer's article will not affect your template. You have to apply changes in both.

  • 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 step.

Categories

A photographer can have a models and an photos category. Even if you did not mark any performer or image on Boobpedia with a category for your photographer, another one can have done so, and your new category already contains entries.

Models

  • 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 XY models category. Follow the instructions given on the new page and return to this page when you are done.
  • Follow the next step.

Photos

  • Use the input box below to create a new category for your photographer.
  • Note: Do not delete the "Category:" prefix and the "photos" in the input box!
  • This creates a predefined XY photos category. Follow the instructions given on the new page.
  • You can continue working on your main article now.

See also

  • New article - if your photographer has other occupations, you might want to go there in order to create further categories.
  • {{Photographer}}