Difference between revisions of "Template:Ancient Olympic winners/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Francois-Pier
(Documentation)
 
blackwiki>Francois-Pier
(Categories added)
Line 2: Line 2:
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
  
The template '''Ancient Olympic winners''' creates a navbox which is given for use by articles or templates which about any winners of the ancient Olympic Games. The navbox also provides links to relevant articles, a list of Olympic winners, the sports that competed and catalogs listed their wins.
+
The template '''Ancient Olympic winners''' creates a navbox which is given for use by articles or templates which about any winners of the ancient Olympic Games]]. The navbox also provides links to relevant articles, a list of Olympic winners, the sports that competed and catalogs listed their wins.
  
{{ Ancient Olympic winners | state=uncollapsed }}
+
{{Ancient Olympic winners|state=expanded}}
  
 
== Usage ==
 
== Usage ==
  
 
;Minimum usage:
 
;Minimum usage:
<pre>{{ Ancient Olympic winners }}</pre>
+
<pre>{{Ancient Olympic winners}}</pre>
  
 
;State usage:
 
;State usage:
<pre>{{ Ancient Olympic winners | state= }}</pre>
+
<pre>{{Ancient Olympic winners|state=}}</pre>
  
 
;Parameter:
 
;Parameter:
Line 27: Line 27:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
| {{ Ancient Olympic winners/list }}
+
| {{Ancient Olympic winners/list}}
 
|}
 
|}
  
 
<includeonly><!-- PLEASE ADD CATEGORIES AND INTERWIKIS AFTER THIS LINE, INSIDE INCLUDEONLY TAGS, THANK YOU. -->
 
<includeonly><!-- PLEASE ADD CATEGORIES AND INTERWIKIS AFTER THIS LINE, INSIDE INCLUDEONLY TAGS, THANK YOU. -->
 
[[Category:Ancient Olympic competitors|.]]
 
[[Category:Ancient Olympic competitors|.]]
 +
[[Category:Ancient Olympic Games|.]]
 
</includeonly>
 
</includeonly>

Revision as of 11:10, 21 August 2013

The template Ancient Olympic winners creates a navbox which is given for use by articles or templates which about any winners of the ancient Olympic Games]]. The navbox also provides links to relevant articles, a list of Olympic winners, the sports that competed and catalogs listed their wins.

Usage

Minimum usage
{{Ancient Olympic winners}}
State usage
{{Ancient Olympic winners|state=}}
Parameter
state = autocollapse or expanded or collapsed or plain or off
  • Defaults to autocollapse, a navbox with this state will start out collapsed if there are two or more tables on the same page that use other collapsible tables. Otherwise, the navbox will be expanded. For the technically minded, see MediaWiki:Common.js.
  • If set to collapsed, the navbox will always start out in a collapsed state.
  • If set to expanded, the navbox will always start out in an expanded state.
  • If set to plain, the navbox will always be expanded with no [hide] link on the right, and the title will remain centered (by using padding to offset the V • T • E links).
  • If set to off, the navbox will always be expanded with no [hide] link on the right, but no padding will be used to keep the title centered. This is for advanced use only; the "plain" option should suffice for most applications where the [show]/[hide] button needs to be hidden.

List of Olympic winners

The navbox displays a list of ancient Olympic winners determined by the template of list subpage. This list is written alphabetically and contains (by the last update) all ancient Olympic winners who had an article, with a reference, in the English Wikipedia: