Template:Information page/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Cameron11598
Reverted 1 edit by Cinthyahaaz (talk): Damaged the tmplate documentation. (TW)
meta>Sandeepcobra
No edit summary
Line 1: Line 1:
<!-- ******************************************************************************
{{Use British English|date=September 2013}}
    ****  This is the documentation for both Template:Information_page and    ****
{{Use dmy dates|date=March 2015}}
    ****  Template:Wikipedia_how-to (it uses #if statements to distinguish).  ****
{{Infobox person
    ******************************************************************************
| name          = Sandeep Cobra
-->
| image        = Sandeep Cobra snapped at 'kasganj' photoshoot.jpg
{{Documentation subpage}}
| caption      = Sandeep Cobra at the photoshoot of ''[[kasganj (2014 film)|Akasganj]]'' (2014) in [[kasganj]], [[India]]
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE; INTERWIKIS GO IN WIKIDATA. -->
| birth_name    = kishan lal
{{#if:{{{howto|}}}
| birth_date    = {{birth date and age|df=yes|1996|08|10}}
|{{distinguish2|the article tone dispute tag, [[Template:Howto]]}}
| birth_place  = [[kasganj]], India
|<!-- hatnote space for Template:Information_page/doc -->
| residence    = [kasganj]], [[utter pradesh]], India
}}
| nationality  = [[India]]n
 
| occupation    = [[Film Actor]], [[Film director|Director]], [[Model (people)|Model]]
This is the page banner template for [[:Category:Wikipedia {{#if:{{{howto|}}}|how-to{{!}}Wikipedia how-to|information pages{{!}}Wikipedia information page}}]] essays.
| religion      = Hindu
 
| children      = 0
It can be placed on top of (non-article) pages when appropriate. This usually means pages in the "Wikipedia:" and "Help:" namespaces, but sometimes {{#if:{{{howto|}}}|how-to guides|information pages}} also exist as user subpages.
| parents      = [[kishan lal]]<br/>Isha devi
 
| relatives    = [[ajay Devgan]] (younger brother)<br>[[kajol]] (father-in-law)<br/>[[karan singh]]
== Categorization ==
| awards      = [[silver & gold]] (2016),<br>[[List of awards and nominations received by Sandeep Cobra|Other Awards]]
If a page that uses this template is in the "Wikipedia:" or "Help:" [[WP:Namespace|namespace]], then this template adds [[:Category:Wikipedia {{#if:{{{howto|}}}|how-to|information pages}}]] to the page.
| website = [http://sandeepcovra.weebly.com/ sandeepcovra.weebly.com]
 
| image size    = 106kb
If the page is in the [[WP:User pages|"User:"]] namespace, it will be put into [[:Category:User essays]].  If your page is just a draft, please use the {{para|nocat}} parameter to prevent categorization, until it is finished.
| ethnicity    = [[hindu people|Hindu]]
 
| years active  = 1996–present
If it is in some other namespace, it will not be auto-categorized, and it may be in the wrong place.
| othername    = sandeep cobra
 
== Usage ==
 
This template can be used as is, like this:
 
:{{tlc|{{BASEPAGENAME}}}}
 
But it can also take up to three [[Wikipedia:Shortcut|shortcuts]] as parameters. It then displays a small shortcut box inside it. Like this:
 
:{{tlc|{{BASEPAGENAME}}|WP:SHORT|WP:SHORT2}}
 
Then it looks like this:
 
{{ {{BASEPAGENAME}}|WP:SHORT|WP:SHORT2|demo=y}}
 
If you want to feed more than one or two shortcuts then the shortcut box becomes too high, which doesn't look good. In such a case it is better to use a {{tlc|shortcut}} box directly {{em|below}} this template, like this:
 
{{blockindent|1=
{{tlx|{{BASEPAGENAME}}}}<br />
{{tlx|shortcut|WP:SHORT|WP:SHORT2|WP:SHORT3|WP:SHORT4}}
}}
 
=== Optional parameters ===
* {{para|1}} or {{para|sc1}}, {{para|shortcut1}}, {{para|shortcut}}, or first unnamed parameter – First [[WP:Shortcut|shortcut]]. Don't include <code><nowiki>[[...]]</nowiki></code> linking brackets in this or other shortcut parameters.
* {{para|2}} or {{para|sc2}}, {{para|shortcut2}}, or first unnamed parameter – Second shortcut
* {{para|3}} or {{para|sc3}}, {{para|shortcut3}}, or first unnamed parameter – Third shortcut (deprecated; please use separate [[Template:Shortcut]] for three or more)
* {{para|interprets}} or {{para|page}} – Specify name of page (policy, process, etc.) that this essay provides advice about. Don't include <code><nowiki>[[...]]</nowiki></code> linking brackets. This will replace the wording "{{#if:{{{howto|}}}|some aspect or aspects of Wikipedia's norms and practices|Wikipedia's norms and practices}}". <small>[The deprecated old parameter name {{para|pages}} also works, but this feature only supports a single page reference, so the plural makes no sense here.]</small>
* {{para|sort-by}} – Specify a [[WP:Categorization#Sort keys|sort key]] for the category. For example, if the how-to page is [[Wikipedia:Producing maps with xplanet]] and you want it category-sorted to appear under "X", use {{para|sort-by|Xplanet, Producing maps with}}. This has no effect on the user essays category.
* {{para|category}} – Specify a complete wikilink (i.e, {{em|do}} include the <code><nowiki>[[...]]</nowiki></code> linking brackets) to one or more categories to override the default [[:Category:Wikipedia {{#if:{{{howto|}}}|how-to|information pages}}]]. May include a category sort; example: <code><nowiki>[[Category:WikiProject Underwater Basketweaving|Article structure advice]]</nowiki></code> This parameter does not replace the [[:Category:User essays]] categorization for pages in the "User:" namespace, but can be used to add them manually to [[:Category:Wikipedia {{#if:{{{howto|}}}|how-to|information pages}}]], in addition to the automatic user category.
* {{para|nocat|y}} or {{para|demo|y}} – Bypass all categorization, when the template is used for demo purposes, e.g. in template documentation, on talk pages, etc.
* {{para|style}} – Pass arbitrary CSS to the [[Template:Ombox]] metatemplate that this template uses (this should never be necessary except in complicated [[WP:WikiProject|wikiproject]] layouts).
 
== TemplateData ==
{{collapse top}}
<templatedata>
{
"description": "",
        "params": {
            "page": {"type": "wiki-page-name","description": "Guideline or other page being interpreted",},
            "shortcut1" : {"type": "wiki-page-name","description": "Shortcut to this page",},
            "shortcut2" : {"type": "wiki-page-name","description": "Shortcut to this page",},
            "shortcut3" : {"type": "wiki-page-name","description": "Shortcut to this page",},
            "nocat" : {"type": "string","description": "Any value prevents addition of project category",}
        }
}
</templatedata>
{{collapse bottom}}
 
== See also ==
 
{{#if:{{{howto|}}}|
* {{tl|Howto}} – the cleanup/dispute tag for articles writen in a "how-to" style.
* {{tl|Information page}} – the banner template for essays that are more just informational than directly instructional
|
* {{tl|Wikipedia how-to}} – the banner template for essays that are more directly instructional than just informational
}}
* [[Wikipedia:Template messages/Project namespace]] – For other "Wikipedia:"-namespace banner templates.
 
<includeonly>{{sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Wikipedia header templates]]
}}</includeonly>

Revision as of 04:02, 14 August 2016

{{Infobox person | name = Sandeep Cobra | image = Sandeep Cobra snapped at 'kasganj' photoshoot.jpg | caption = Sandeep Cobra at the photoshoot of Akasganj (2014) in kasganj, India | birth_name = kishan lal | birth_date = (1996-08-10) 10 August 1996 (age 28) | birth_place = kasganj, India | residence = [kasganj]], utter pradesh, India | nationality = Indian | occupation = Film Actor, Director, Model | religion = Hindu | children = 0 | parents = kishan lal
Isha devi | relatives = ajay Devgan (younger brother)
kajol (father-in-law)
karan singh | awards = silver & gold (2016),
Other Awards | website = sandeepcovra.weebly.com | image size = 106kb | ethnicity = Hindu | years active = 1996–present | othername = sandeep cobra