Difference between revisions of "Template:MaccabiahEvent/doc"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
m (add {{documentation subpage}})
imported>Frietjes
(Redirected page to Template:GamesSport/doc)
 
Line 1: Line 1:
{{documentation subpage}}
+
#REDIRECT [[Template:GamesSport/doc]]
==Usage==
 
 
 
<code><nowiki>{{MaccabiahEvent|event|games|number}}</nowiki></code>
 
 
 
This template is to display a link to an article about a Maccabiah event.
 
 
 
*''event'' - the name of the Maccabiah event
 
*''games'' - a string of the form.
 
*''number'' -  number of subcategories in this event. Optional.
 
 
 
'''Optional parameters:'''
 
 
 
*''image'' - adding an image of the event (f.e. [[Image:Athletics pictogram.svg|30px]]).
 
*''subcategory'' - add in case you want to link to a subcategory page (f.e. [[Football at the 2005 Maccabiah Games]]).
 
*''title'' - changing the written text (<nowiki>[[event at the XXXX Maccabiah Games|title]]</nowiki>). If not filled, the title will be ''event'' or ''event - subcategory''.
 
 
 
'''Examples:'''
 
 
 
* <code><nowiki>{{MaccabiahEvent|Football (soccer)|2005}}</nowiki></code> → {{MaccabiahEvent|Football (soccer)|2005}}
 
* <code><nowiki>{{MaccabiahEvent|Football (soccer)|2005|image=Yes}}</nowiki></code> → {{MaccabiahEvent|Football|2005|image=Yes}}
 
* <code><nowiki>{{MaccabiahEvent|Football (soccer)|2005|subcategory=Men's tournament}}</nowiki></code> → {{MaccabiahEvent|Football (soccer)|2005|image2005=Yes|subcategory=Men's tournament}}
 
 
 
<includeonly>
 
[[Category:Maccabiah templates]]
 
</includeonly>
 

Latest revision as of 20:54, 9 September 2019