Template:Pets/doc: Difference between revisions

Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
No edit summary
No edit summary
Line 6: Line 6:
'''style = navbox''' is the default style and can be omitted:
'''style = navbox''' is the default style and can be omitted:


* <code><nowiki>{{2007 pets}}</nowiki></code> gives  
* <code><nowiki>{{</nowiki>{{#ifeq:{{PAGENAME}}|Pets|2007 pets|{{PAGENAME}}}}<nowiki>}}</nowiki></code> gives  
{{2007 pets}}
{{#ifeq:{{PAGENAME}}|Pets|{{2007 pets}}|{{ {{PAGENAME}} }}}}


=== List style ===
=== List style ===
'''style = list''' can be used to create a list on year pages in {{cl|years}}:
'''style = list''' can be used to create a list on year pages in {{cl|years}}:


* <code><nowiki>{{2007 pets|style=list}}</nowiki></code> gives  
* <code><nowiki>{{</nowiki>{{#ifeq:{{PAGENAME}}|Pets|2007 pets{{!}}style=list|{{PAGENAME}}{{!}}style=list}}<nowiki>}}</nowiki></code> gives  
{{2007 pets|style=list}}
{{#ifeq:{{PAGENAME}}|Pets|{{2007 pets|style=list}}|{{ {{PAGENAME}}|style=list }}}}


=== New template ===
=== New template ===

Revision as of 11:58, 17 September 2008

This is a documentation subpage for Template:Pets (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Usage

Naxbox style

style = navbox is the default style and can be omitted:

  • {{Pets/doc}} gives
This is a documentation subpage for Template:Pets (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Usage

Naxbox style

style = navbox is the default style and can be omitted:

  • {{Pets/doc}} gives

Template loop detected: Template:Pets/doc

List style

style = list can be used to create a list on year pages in Category:Years:

  • {{Pets/doc|style=list}} gives

Template loop detected: Template:Pets/doc

New template

Use {{Pets}} to create a new template for Penthouse Pets of a certain year and name it {{YYYY pets}}.

See also

List style

style = list can be used to create a list on year pages in Category:Years:

  • {{Pets/doc|style=list}} gives
This is a documentation subpage for Template:Pets (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Usage

Naxbox style

style = navbox is the default style and can be omitted:

  • {{Pets/doc}} gives

Template loop detected: Template:Pets/doc

List style

style = list can be used to create a list on year pages in Category:Years:

  • {{Pets/doc|style=list}} gives

Template loop detected: Template:Pets/doc

New template

Use {{Pets}} to create a new template for Penthouse Pets of a certain year and name it {{YYYY pets}}.

See also

New template

Use {{Pets}} to create a new template for Penthouse Pets of a certain year and name it {{YYYY pets}}.

See also