Editing Template:Infobox/doc

From MINR.ORG WIKI

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 14: Line 14:
 
}}
 
}}
  
This template is intended as a meta template: a template used for constructing other templates. '''Note''': In general, it is not meant for use directly in an article, but can be used on a one-off basis if required. [[Wikipedia:Help:Infobox]] contains an introduction about the recommended content and design of infoboxes; [[Wikipedia:Manual of Style/Infoboxes]] contains additional style guidelines. See [[Wikipedia:List of infoboxes]] and [[Wikipedia:Category:Infobox templates]] for lists of prepared topic-specific infoboxes.
+
This template is intended as a meta template: a template used for constructing other templates. '''Note''': In general, it is not meant for use directly in an article, but can be used on a one-off basis if required. [[Help:Infobox]] contains an introduction about the recommended content and design of infoboxes; [[Wikipedia:Manual of Style/Infoboxes]] contains additional style guidelines. See [[WP:List of infoboxes]] and [[:Category:Infobox templates]] for lists of prepared topic-specific infoboxes.
  
 
== Usage ==
 
== Usage ==
Line 71: Line 71:
  
 
=== Illustration images ===
 
=== Illustration images ===
; image(n) : images to display at the top of the template. Use full image syntax, for example <nowiki>[[File:example.png|200px|alt=Example alt text]]</nowiki>. Image is centered by default. See [[Wikipedia:ALT]] for more on alt text.
+
; image(n) : images to display at the top of the template. Use full image syntax, for example <nowiki>[[File:example.png|200px|alt=Example alt text]]</nowiki>. Image is centered by default. See [[WP:ALT]] for more on alt text.
 
; caption(n) : Text to put underneath the images.
 
; caption(n) : Text to put underneath the images.
  
Line 100: Line 100:
 
  |  data12 = Data D
 
  |  data12 = Data D
 
</pre>{{clear}}
 
</pre>{{clear}}
 +
 +
It is also possible to automatically renumber parameter names by using [[User:Frietjes/infoboxgap.js]] or [[Module:IncrementParams]].
  
 
==== Making data fields optional ====
 
==== Making data fields optional ====
Line 176: Line 178:
  
 
=== Italic titles ===
 
=== Italic titles ===
Titles of articles with infoboxes may be made italic, in line with [[Wikipedia:ITALICTITLE]], by passing the <code>italic title</code> parameter.
+
Titles of articles with infoboxes may be made italic, in line with [[WP:ITALICTITLE]], by passing the <code>italic title</code> parameter.
  
 
* Turn on italic titles by passing {{para|italic title|<nowiki>{{{italic title|}}}</nowiki>}} from the infobox.
 
* Turn on italic titles by passing {{para|italic title|<nowiki>{{{italic title|}}}</nowiki>}} from the infobox.
Line 230: Line 232:
 
...and so forth. "above" and "title" can also be given classes, since these are usually used to display the name of the subject of the infobox.
 
...and so forth. "above" and "title" can also be given classes, since these are usually used to display the name of the subject of the infobox.
  
See [[Wikipedia:WikiProject Microformats]] for more information on adding microformat information to Wikipedia, and [[Wikipedia:microformat]] for more information on microformats in general.
+
See [[Wikipedia:WikiProject Microformats]] for more information on adding microformat information to Wikipedia, and [[microformat]] for more information on microformats in general.
  
 
== Examples ==
 
== Examples ==
Line 683: Line 685:
  
 
==See also==
 
==See also==
* [[Module:Infobox]], the [[Wikipedia:LUA|Lua]] module on which this template is based
+
* [[Module:Infobox]], the [[WP:LUA|Lua]] module on which this template is based
 
* [[Special:Permalink/558855956|Template:Infobox/old]], the previous ParserFunctions implementation
 
* [[Special:Permalink/558855956|Template:Infobox/old]], the previous ParserFunctions implementation
 
* {{tl|Infobox3cols}}
 
* {{tl|Infobox3cols}}

Please note that all contributions to MINR.ORG WIKI may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see MINR.ORG WIKI:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)