Difference between revisions of "Template:Microformat message"

From NSWiki
Jump to: navigation, search
(Created page with "{{Navbox | name = Microformat message templates | state = {{{state|{{{1|<includeonly>collapsed</includeonly>}}}}}} | title = Microformat message templates | listclass = hl...")
 
 
Line 1: Line 1:
{{Navbox
+
The [[Help:HTML in wikitext|HTML mark-up]] produced by this template includes {{#if:{{{type|}}} |{{{type}}} |an [[{{{format}}} microformat]]}} that makes {{{data}}} readily [[Parsing|parsable]] by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit [[Wikipedia:WikiProject Microformats|the Microformat WikiProject]].<!--
| name = Microformat message templates
+
| state = {{{state|{{{1|<includeonly>collapsed</includeonly>}}}}}}
+
| title = [[Microformat]] message templates
+
| listclass = hlist
+
| liststyle = line-height:1.0em;
+
  
| above = Note: The links below use truncated names.  
+
-->{{#if:{{{subtemplates<includeonly>|</includeonly>}}}
 +
    | <div style="margin-top:0.5em;margin-bottom:0.65em;">
 +
; {{big|Subtemplates}}
 +
{{{subtemplates}}}
  
| group1 = [[hCard]]-related
+
'''''Please do not remove instances of these subtemplates.'''''
| list1 =
+
</div>}}<!--
* {{tlbare|UF-hcard+hcal|+hcal}}
+
* {{tlbare|UF-hcard-geo|geo}}
+
* {{tlbare|UF-hcard-name|name}}
+
* {{tlbare|UF-hcard-org|org}}
+
* {{tlbare|UF-hcard-part|part}}
+
* {{tlbare|UF-hcard-person|person}}
+
* {{tlbare|UF-hcard-place|place}}
+
* {{tlbare|UF-hcard-short|short}}
+
  
| group2 = Other formats
+
-->{{#if:{{{subsection1|}}}
| list2 =
+
    | <div style="margin-top:0.5em;margin-bottom:0.65em;"><!--(newline in case subsection begins with heading:)-->
* {{tlbare|UF-adr|adr}}
+
{{{subsection1}}}
* {{tlbare|UF-audio|audio}}
+
</div>}}<!--
** {{tlbare|UF-audio-part|part}}
+
* {{tlbare|UF-coord|coord}}
+
** {{tlbare|UF-coord-classes|classes}}
+
* {{tlbare|UF-date-part|date-part}}
+
* {{tlbare|UF-date-warn|date-warn}}
+
* {{tlbare|UF-geo|geo}}
+
** {{tlbare|UF-geo-other|other}}
+
* {{tlbare|UF-hcal|hcal}}
+
** {{tlbare|UF-hcal-auto|auto}}
+
** {{tlbare|UF-hcal-geo|geo}}
+
** {{tlbare|UF-hcal-multi|multi}}
+
* {{tlbare|UF-hprod|hprod}}
+
* {{tlbare|UF-hrecipe|hrecipe}}
+
* {{tlbare|UF-media|media}}
+
* {{tlbare|UF-species|species}}
+
  
| below = {{icon|Category}} {{c|Microformat (uF) message templates|Category}}
+
-->{{#if:{{{1<includeonly>|</includeonly>}}} <!--(i.e. if at least one unnamed parameter supplied:)-->
 +
    | <div style="margin-top:0.5em;margin-bottom:0.65em;">
 +
; {{big|Classes used}}
 +
The [[HTML attribute|HTML class]]es this microformat uses include:
 +
: {{hlist
 +
  |item_style=font-size:110%;{{{itemstyle|}}}
 +
  |{{{1}}} |{{{2<includeonly>|</includeonly>}}} |{{{3|<noinclude>{{nobold|……}}</noinclude>}}}
 +
  |{{{4|}}} |{{{5|}}} |{{{6|}}} |{{{7|}}} |{{{8|}}} |{{{9|}}} |{{{10|}}} |{{{11|}}} |{{{12|}}} |{{{13|}}} |{{{14|}}} |{{{15|}}} |{{{16|}}} |{{{17|}}} |{{{18|}}} |{{{19|}}} |{{{20|}}}
 +
  }}  </div>
 +
{{longitem|style=line-height:1.3em|'''''Please do not rename or remove these classes{{#if:{{{nocollapse<includeonly>|</includeonly>}}} |<br/>nor collapse nested elements which use them}}.'''''}}<!--
 +
-->}}<!--(end #if:[1])--><noinclude>
  
}}<noinclude>
+
{{Documentation}}
{{Documentation
+
| content = {{Collapsible option|statename=optional|default=collapsed}}
+
}}
+
 
+
[[Category:Microformat (uF) message templates| ]]
+
 
</noinclude>
 
</noinclude>

Latest revision as of 06:13, 25 March 2019

The HTML mark-up produced by this template includes an [[{{{format}}} microformat]] that makes {{{data}}} readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.
Template:Big

{{{subtemplates}}}

Please do not remove instances of these subtemplates.

Template:Big

The HTML classes this microformat uses include:

  • {{{1}}}
  • {{{2}}}
  • ……
Please do not rename or remove these classes
nor collapse nested elements which use them.
Documentation icon Template documentation[create]