Difference between revisions of "Template:Infobox martial art form"

From blackwiki
Jump to navigation Jump to search
imported>Yakudza19
(interwiki)
imported>Frietjes
(infobox)
Line 1: Line 1:
{| class="infobox vcard" style="width: 20em; font-size: 90%; text-align: left; align: right; vertical-align: top;" cellspacing="2";
+
{{infobox
|-
+
| bodyclass = vcard
{{!}} colspan="2" style="font-size: larger; background-color: #ccccff; text-align: center;" class="fn" {{!}} '''{{{name}}}'''
+
 
|-
+
| aboveclass = fn navbox-title
{{#if: {{{image|}}}|
+
| above      = {{{name}}}
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{image|}}}|{{#if:{{{imagesize|}}}|<!--then:-->{{{imagesize}}}|<!--else:-->200px}}| ]]<br/><small>{{{caption|}}}</small>
+
| image      = {{#if: {{{image|}}}|[[File:{{{image}}}|{{px|{{{imagesize|}}}|200px}}|alt={{{alt|}}}|{{{caption|}}}]]}}
}}
+
| caption    = {{{caption|}}}
|-
+
 
{{#if: {{{other_names|}}}|
+
| label1    = Other names
! Other names
+
| data1      = {{{other_names|}}}
{{!}} {{{other_names|}}}}}
+
| label2    = Martial art  
|-
+
| data2      = {{{martial_art}}}
! Martial art  
+
| label3    = Place of origin
{{!}} {{{martial_art|}}}
+
| data3      = {{{origin|}}}
|-
+
| label4    = Creator
{{#if: {{{origin|}}}|
+
| data4      = {{{creator|}}}
! Place of origin
+
| label5    = Date of Creation
{{!}} {{{origin|}}}}}
+
| data5      = {{{creation_date|}}}
|-
+
}}<noinclude>
{{#if: {{{creator|}}}|
 
! Creator
 
{{!}} {{{creator|}}}}}
 
|-
 
{{#if: {{{creation_date|}}}|
 
! Date of Creation
 
{{!}} {{{creation_date|}}}}}
 
|}<noinclude>
 
  
 
== Usage ==
 
== Usage ==

Revision as of 17:31, 16 May 2011

{{{name}}}
Martial art{{{martial_art}}}

[[Category:Infobox templates|Template:Remove first word]]

Usage

{{Infobox martial art form 
| name          = 
| other_names   = 
| image         = 
| imagesize     = 
| caption       = 
| martial_art   = 
| origin        = 
| creator       = 
| creation_date = 
}}

Fields included:

  • name, the first known name of the form (the same as the article title) - required
  • other_names, other names the form is known by
  • image, an image representative of the form (placed using the syntax "imagename.ext")
  • imagesize, the size of the image (if no value is placed, 200px is used)
  • caption, a caption to be used with the image
  • martial_art, the name of the martial art(s) that practice this form (not specific schools or styles) - required
  • origin, the location of origin, preceded by the country's flag, using {{flagicon}} (include city if known)
  • creator, the person who created the form
  • creation_date, approximate date the form was created

ru:Шаблон:Ката