Template:Treats/doc: Difference between revisions

Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
No edit summary
(→‎Usage: Testing)
Line 13: Line 13:


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


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

Revision as of 16:05, 25 February 2023

This is a documentation subpage for Template:Treats (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:

  • {{Treats/doc}} gives
This is a documentation subpage for Template:Treats (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:

  • {{Treats/doc}} gives

Template loop detected: Template:Treats/doc

List style

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

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

New template

Use {{Treats}} to create a new template for Twistys Treats of a certain year and name it YYYY treats

See also

List style

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

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

New template

Use {{Treats}} to create a new template for Twistys Treats of a certain year and name it YYYY treats

See also