Difference between revisions of "Template:Rugs and Carpets"

From WikiRug
Jump to navigation Jump to search
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name      = Rugs and carpets
+
| name      = Rugs and Carpets
| title      = [[Carpet|Rugs and carpets]]
+
| title      = [[Carpet|Rugs and Carpets]]
 
| listclass = hlist
 
| listclass = hlist
 
| image      = <!-- [[Image:Antique lilihan persian carpet 433671.jpg|right|120px]] -->
 
| image      = <!-- [[Image:Antique lilihan persian carpet 433671.jpg|right|120px]] -->
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
  
| group1 = Rugs
+
| group1 = Carpet Designs
 
| list1  =
 
| list1  =
* [[Abadeh rug|Abadeh]]
+
* [[Abadeh Rug|Abadeh]]
* [[Afghan rug|Afghan]]
+
* [[Afghan Rug|Afghan]]
* [[Ahar rug|Ahar]]
+
* [[Ahar Rug|Ahar]]
 
* [[Alcaraz Rugs|Alcaraz]]
 
* [[Alcaraz Rugs|Alcaraz]]
* [[Arak rug|Arak]]
+
* [[Arak Rug|Arak]]
* [[Ardabil rug|Ardabil]]
+
* [[Ardabil Rug|Ardabil]]
* [[Azerbaijani rug|Azerbaijani]]
+
* [[Azerbaijani Rug|Azerbaijani]]
 
* [[Bakhtiari Rug|Bakhtiari]]
 
* [[Bakhtiari Rug|Bakhtiari]]
* [[Bakshaish rugs and carpets|Bakshaish]]
+
* [[Bakshaish Rug|Bakshaish]]
 
* [[Bessarabian rugs and carpets|Bessarabian]]
 
* [[Bessarabian rugs and carpets|Bessarabian]]
 
* [[Bidjar rug|Bidjar]]
 
* [[Bidjar rug|Bidjar]]

Revision as of 19:23, 7 March 2019

Template documentation

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Rugs and Carpets|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Rugs and Carpets|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Rugs and Carpets|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.

See also

Template:Knot templates