Template:Pets/doc: Difference between revisions
No edit summary |
(→See also: tl|Honeys) |
||
| (5 intermediate revisions by 3 users not shown) | |||
| 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 === | ||
Use {{tl|Pets}} to create a new template for Penthouse Pets of a certain year and name it | Use {{tl|Pets}} to create a new template for Penthouse Pets of a certain year and name it <code>YYYY pets</code> | ||
== See also == | == See also == | ||
* {{tl|DanniGirls}} | |||
* {{tl|Honeys}} | |||
* {{tl|Playmates}} | * {{tl|Playmates}} | ||
* {{tl|Treats}} | |||
<includeonly> | <includeonly> | ||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
[[Category:Pet templates| {{PAGENAME}}]] | [[Category:Pet templates|{{PAGENAME}}]] | ||
</includeonly> | </includeonly> | ||
Latest revision as of 21:28, 6 April 2016
Usage
Naxbox style
style = navbox is the default style and can be omitted:
{{Pets/doc}}gives
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
- {{DanniGirls}}
- {{Honeys}}
- {{Playmates}}
- {{Treats}}
List style
style = list can be used to create a list on year pages in Category:Years:
{{Pets/doc|style=list}}gives
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
- {{DanniGirls}}
- {{Honeys}}
- {{Playmates}}
- {{Treats}}
New template
Use {{Pets}} to create a new template for Penthouse Pets of a certain year and name it YYYY pets
See also
- {{DanniGirls}}
- {{Honeys}}
- {{Playmates}}
- {{Treats}}