Mall:Infobox/doc: Skillnad mellan sidversioner

Hoppa till navigering Hoppa till sök
(Skapade sidan med '{{documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> This template is intended as a meta-template: a template used for constructin...')
 
 
(5 mellanliggande sidversioner av samma användare visas inte)
Rad 1: Rad 1:
{{documentation subpage}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->


This template is intended as a meta-template: a template used for constructing other templates. it is not meant for use directly in an article, but can be used on a one-off basis if required. See [[w:Help:Infobox|Help:Infobox]] for an introduction to infoboxes and information on how to design them. See [[:Category:Infobox templates]] for specific infobox templates.
This template is intended as a meta-template: a template used for constructing other templates. it is not meant for use directly in an article, but can be used on a one-off basis if required.  


=== Usage ===
=== Usage ===
Rad 78: Rad 78:
==== Microformats ====
==== Microformats ====


This template supports the addition of microformat information. This is done by adding "class" attributes to various data cells, indicating what kind of information is contained within. To flag an infobox as containing [[w:hCard|hCard]] information, for example, add the following parameter:
This template supports the addition of microformat information. This is done by adding "class" attributes to various data cells, indicating what kind of information is contained within. To flag an infobox as containing hCard information, for example, add the following parameter:


<pre>
<pre>
Rad 111: Rad 111:
</pre>
</pre>


For more on #if, see [[m:ParserFunctions##if:|here]].


You can also make headers optional in a similar way. If you want a header to appear only if one or more of the data fields that fall under it are filled, one could use the following pattern as an example of how to do it:
You can also make headers optional in a similar way. If you want a header to appear only if one or more of the data fields that fall under it are filled, one could use the following pattern as an example of how to do it:
Rad 327: Rad 326:
=== See also ===
=== See also ===
* {{tl|start infobox page}}
* {{tl|start infobox page}}
<includeonly>
[[Category:Infobox templates| ]]
[[Category:Metatemplates|{{PAGENAME}}]]
</includeonly>
Forum:Admin, Forum:CantDelete, Forum:CantEdit, Forum:CantPost, Forum:CantSearch, Forum:CantView, Forum:Mod, Forum:NoSigs, Byråkrater, emailconfirmed, Gränssnittsadministratörer, Administratörer, Widget-redigerare
1 251

redigeringar

Navigeringsmeny