<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.twistedfates.net/w/index.php?action=history&amp;feed=atom&amp;title=Infobox%2FBasics</id>
	<title>Infobox/Basics - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.twistedfates.net/w/index.php?action=history&amp;feed=atom&amp;title=Infobox%2FBasics"/>
	<link rel="alternate" type="text/html" href="https://wiki.twistedfates.net/w/index.php?title=Infobox/Basics&amp;action=history"/>
	<updated>2026-05-25T00:12:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.twistedfates.net/w/index.php?title=Infobox/Basics&amp;diff=1222&amp;oldid=prev</id>
		<title>Peppermint: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.twistedfates.net/w/index.php?title=Infobox/Basics&amp;diff=1222&amp;oldid=prev"/>
		<updated>2023-12-13T04:32:43Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:32, 13 December 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Peppermint</name></author>
	</entry>
	<entry>
		<id>https://wiki.twistedfates.net/w/index.php?title=Infobox/Basics&amp;diff=1221&amp;oldid=prev</id>
		<title>porhub&gt;BaRaN6161TURK at 12:43, 21 November 2021</title>
		<link rel="alternate" type="text/html" href="https://wiki.twistedfates.net/w/index.php?title=Infobox/Basics&amp;diff=1221&amp;oldid=prev"/>
		<updated>2021-11-21T12:43:53Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[File:Starting.jpg|thumb]] This is a basic introduction to [[infoboxes]]. A complete description of all the infobox functionality can be found in the [[w:Help:Infoboxes|help pages]]. Some knowledge of [[w:Help:Templates|Templates]] may be necessary to design more complex infoboxes.&lt;br /&gt;
&lt;br /&gt;
== First step ==&lt;br /&gt;
The first step is to decide what contents you need in an infobox. Putting the idea down on paper or a table might help. Let&amp;#039;s evaluate this using a case study.&lt;br /&gt;
&lt;br /&gt;
== Case study - Batman ==&lt;br /&gt;
Suppose an editor wants to create an infobox for a character, e.g. [[w:c:batman:Batman|Batman]]. Below are the steps that can be followed.&lt;br /&gt;
&lt;br /&gt;
=== Plan ===&lt;br /&gt;
Batman is a pretty popular character and it would be nice to have some basic information about him. A table below shows some of his attributes.&lt;br /&gt;
{| class=&amp;quot;article-table&amp;quot;&lt;br /&gt;
!&lt;br /&gt;
Attribute&lt;br /&gt;
!Details&lt;br /&gt;
|-&lt;br /&gt;
|Name&lt;br /&gt;
|Bruce Wayne&lt;br /&gt;
|-&lt;br /&gt;
|Abilities&lt;br /&gt;
|Martial arts&lt;br /&gt;
Genius-level intelligence&lt;br /&gt;
|-&lt;br /&gt;
|Alias&lt;br /&gt;
|Batman , the dark knight&lt;br /&gt;
|-&lt;br /&gt;
|Affiliation&lt;br /&gt;
|Justice league&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Building an infobox ===&lt;br /&gt;
&lt;br /&gt;
==== Step 1 ====&lt;br /&gt;
First create a page with the prefix &amp;quot;Template:&amp;quot; e.g. Template:Infobox character.&lt;br /&gt;
&lt;br /&gt;
==== Step 2 ====&lt;br /&gt;
Write the following in &amp;quot;Template:Infobox character&amp;quot; and save:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;infobox&amp;gt;&lt;br /&gt;
    &amp;lt;data source=&amp;quot;name&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;label&amp;gt;Name&amp;lt;/label&amp;gt;&lt;br /&gt;
    &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/infobox&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
Now go to any test page, e.g. [[ Special:MyPage/sandbox|Special:MyPage/sandbox]]  and write:&lt;br /&gt;
&lt;br /&gt;
{{Project:Examples/infobox_batman|name = Bruce Wayne}}&lt;br /&gt;
&amp;lt;pre&amp;gt;{{infobox character|name=Bruce Wayne}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That should show you the infobox on the right.&lt;br /&gt;
&lt;br /&gt;
== Understand your first infobox ==&lt;br /&gt;
Infoboxes must have a &amp;quot;text&amp;quot;  that starts a section and that ends it ( [[Wikipedia:XML|XML]] markup).&lt;br /&gt;
===Tags===&lt;br /&gt;
{{main|w:Help:Infoboxes/Tags}}&lt;br /&gt;
A tag is a simple piece of text surrounded by &amp;quot;&amp;lt;&amp;quot; and &amp;quot;&amp;gt;&amp;quot;, for example, &amp;lt;nowiki&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;/nowiki&amp;gt;. There are many tags that can be used to change the appearance of an infobox. The most common ones include &amp;lt;nowiki&amp;gt;&amp;lt;data&amp;gt;,&amp;lt;image&amp;gt;,&amp;lt;title&amp;gt;,&amp;lt;label&amp;gt; and &amp;lt;header&amp;gt;&amp;lt;/nowiki&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==How it works==&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s time to understand how it works.&lt;br /&gt;
# &amp;lt;nowiki&amp;gt;&amp;lt;infobox&amp;gt;&amp;lt;/nowiki&amp;gt; - This is a tag indicating that this section will contain an infobox.&lt;br /&gt;
# &amp;lt;nowiki&amp;gt;&amp;lt;data&amp;gt;&amp;lt;/nowiki&amp;gt; - This indicates that there will be a section containing some data, e.g. a name and a label.&lt;br /&gt;
# source - This is called an attribute, and indicates where the input comes from, e.g. name from a template or [[w:Help:Template parameters|template parameter]]. It must always be in the form of &amp;lt;code&amp;gt;source = &amp;quot;text&amp;quot;&amp;lt;/code&amp;gt;. This is [[wikipedia:case sensitive|case sensitive]], so &amp;lt;code&amp;gt;source = &amp;quot;NAME&amp;quot;&amp;lt;/code&amp;gt; is not the same thing as &amp;lt;code&amp;gt;source= &amp;quot;name&amp;quot;&amp;lt;/code&amp;gt;.&lt;br /&gt;
# &amp;lt;nowiki&amp;gt;&amp;lt;label&amp;gt;&amp;lt;/nowiki&amp;gt; - This defines what label must be used for the value entered. It starts with a &amp;#039;&amp;lt;label&amp;gt;&amp;#039; and ends with &amp;#039;&amp;lt;/label&amp;gt;&amp;#039; . Note the front-slash.&lt;br /&gt;
# &amp;lt;nowiki&amp;gt;&amp;lt;/data&amp;gt;&amp;lt;/nowiki&amp;gt; - This indicates the end of the &amp;lt;nowiki&amp;gt;&amp;lt;data&amp;gt; section&amp;lt;/nowiki&amp;gt;.&lt;br /&gt;
# &amp;lt;nowiki&amp;gt;&amp;lt;/infobox&amp;gt;&amp;lt;/nowiki&amp;gt; - This shows the end of the infobox.&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; The information in the infobox is shown in the order in which it is entered.&lt;br /&gt;
&lt;br /&gt;
=== Auto hiding sections ===&lt;br /&gt;
When a section such as &amp;lt;nowiki&amp;gt;&amp;lt;data&amp;gt;&amp;lt;/nowiki&amp;gt; does not receive any information (e.g. source=&amp;quot;name&amp;quot;) it automatically hides. In some cases, the whole infobox may not appear. For example, if the example above is changed, and the following text is entered nothing will appear because there is no data to show:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{infobox character}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will also happen if the &amp;quot;source&amp;quot; is misspelled or uses a different sentence case (e.g. upper case):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{infobox character|NAME=&amp;quot;Bruce Wayne}} &amp;lt;!-- This doesn&amp;#039;t work in the example above--&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;{{infobox character|name=&amp;quot;Bruce Wayne}} &amp;lt;!-- This works --&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Adding more to the infobox ==&lt;br /&gt;
&lt;br /&gt;
=== Title ===&lt;br /&gt;
A title can also be added to an infobox. Instead of using &amp;lt;nowiki&amp;gt;&amp;lt;data&amp;gt;&amp;lt;/nowiki&amp;gt; use &amp;lt;nowiki&amp;gt;&amp;lt;title&amp;gt;&amp;lt;/nowiki&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;infobox&amp;gt;&lt;br /&gt;
    &amp;lt;title source = &amp;quot;title&amp;quot;&amp;gt;&amp;lt;/title&amp;gt;&lt;br /&gt;
    &amp;lt;data source=&amp;quot;name&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;label&amp;gt;Name&amp;lt;/label&amp;gt;&lt;br /&gt;
    &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/infobox&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
Like before, enter this text to test your infobox in a test page:&lt;br /&gt;
&lt;br /&gt;
{{Project:Examples/infobox_batman|name = Bruce Wayne|title = Batman}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{infobox character&lt;br /&gt;
|name=Bruce Wayne&lt;br /&gt;
|title=Batman}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now the infobox has a title!&lt;br /&gt;
&lt;br /&gt;
=== Images ===&lt;br /&gt;
The infobox can be further improved with an image like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;image source = &amp;quot;image&amp;quot;&amp;gt;&amp;lt;/image&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Data===&lt;br /&gt;
The &amp;lt;data&amp;gt; is the most important part of the infobox. It stores details and description of each item (or row), and there can be as many as neeeded. For example, the name of a character and the description of the field. It generally uses the following format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;data source = &amp;quot;sourcename&amp;quot;&amp;gt; &lt;br /&gt;
   &amp;lt;label&amp;gt; description &amp;lt;/label&amp;gt;&lt;br /&gt;
&amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For this specific case the name, alias, abilities, and affiliation will be added as shown below:&lt;br /&gt;
&lt;br /&gt;
{{Project:Examples/infobox_batman&lt;br /&gt;
|name = Bruce Wayne|abilities = Martial arts&lt;br /&gt;
Genius-level intelligence|alias = Batman, the dark knight|affiliation = Justice league}}&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;infobox&amp;gt;&lt;br /&gt;
    &amp;lt;data source=&amp;quot;name&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;label&amp;gt;Name&amp;lt;/label&amp;gt;&lt;br /&gt;
    &amp;lt;/data&amp;gt;&lt;br /&gt;
    &amp;lt;data source=&amp;quot;alias&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;label&amp;gt;Alias&amp;lt;/label&amp;gt;&lt;br /&gt;
    &amp;lt;/data&amp;gt;&lt;br /&gt;
    &amp;lt;data source=&amp;quot;abilities&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;label&amp;gt;Known Abilities&amp;lt;/label&amp;gt;&lt;br /&gt;
    &amp;lt;/data&amp;gt;&lt;br /&gt;
    &amp;lt;data source=&amp;quot;affiliation&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;label&amp;gt;Affiliation&amp;lt;/label&amp;gt;&lt;br /&gt;
    &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/infobox&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In actuality, if you don&amp;#039;t add the correct arguments into the infobox on the page you&amp;#039;re adding it to, the associated fields won&amp;#039;t appear, so remember to actually add the fields to the infobox on the page. The same goes if you don&amp;#039;t type in the name of the field correctly, so if the infobox fields are not displaying correctly then this means that the fields on the page has the wrong name.&lt;br /&gt;
&lt;br /&gt;
=== Header ===&lt;br /&gt;
Headers can be used to describe a specific section like &amp;quot;information&amp;quot; or &amp;quot;family&amp;quot;. This is possible with just a slight change:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;header&amp;gt;Information&amp;lt;/header&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
====Example====&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;header&amp;gt;Information&amp;lt;/header&amp;gt;&lt;br /&gt;
   &amp;lt;data source=&amp;quot;name&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;label&amp;gt;Name&amp;lt;/label&amp;gt;&lt;br /&gt;
    &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Note that the header is different from other tags, and doesn&amp;#039;t have a &amp;quot;source&amp;quot;.&lt;br /&gt;
=== Navigation ===&lt;br /&gt;
One can also add content that helps people navigate using a &amp;quot;&amp;lt;navigation&amp;gt;&amp;quot; element:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;navigation&amp;gt;Information&amp;lt;/navigation&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
This allows just about any text and can be used for footer notes, links or anything. Much like the header and the label element, the &amp;lt;navigation&amp;gt; also doesn&amp;#039;t have a &amp;quot;source&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==Bringing it all together==&lt;br /&gt;
Now all the concepts learnt above can be used together.&lt;br /&gt;
&lt;br /&gt;
Write this in a sandbox page:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{infobox character&lt;br /&gt;
|title=Batman&lt;br /&gt;
|image=Example.png&lt;br /&gt;
|name=Bruce Wayne&lt;br /&gt;
|abilities=Martial arts&lt;br /&gt;
Genius-level intelligence&lt;br /&gt;
|alias=Batman , the dark knight&lt;br /&gt;
|affiliation= Justice league&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The contents of &amp;quot;Template:Infobox character&amp;quot; should look like the &amp;quot;box&amp;quot; on the left (see [[Project:Examples/infobox batman|infobox batman]]) , and the infobox will look like the one the right.&lt;br /&gt;
&lt;br /&gt;
{{Project:Examples/infobox_batman&lt;br /&gt;
|name = Bruce Wayne|image = Example.png|title = Batman|abilities = Martial arts&lt;br /&gt;
Genius-level intelligence|alias = Batman , the dark knight|affiliation = Justice league|show = 1}}&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;infobox&amp;gt;&lt;br /&gt;
    &amp;lt;title source = &amp;quot;title&amp;quot;&amp;gt;&amp;lt;/title&amp;gt;&lt;br /&gt;
    &amp;lt;image source = &amp;quot;image&amp;quot;&amp;gt;&amp;lt;/image&amp;gt;&lt;br /&gt;
    &amp;lt;header&amp;gt;Information&amp;lt;/header&amp;gt;&lt;br /&gt;
    &amp;lt;data source=&amp;quot;name&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;label&amp;gt;Name&amp;lt;/label&amp;gt;&lt;br /&gt;
    &amp;lt;/data&amp;gt;&lt;br /&gt;
    &amp;lt;data source=&amp;quot;alias&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;label&amp;gt;Alias&amp;lt;/label&amp;gt;&lt;br /&gt;
    &amp;lt;/data&amp;gt;&lt;br /&gt;
    &amp;lt;data source=&amp;quot;abilities&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;label&amp;gt;Known abilities&amp;lt;/label&amp;gt;&lt;br /&gt;
    &amp;lt;/data&amp;gt;&lt;br /&gt;
    &amp;lt;data source=&amp;quot;affiliation&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;label&amp;gt;Affiliation&amp;lt;/label&amp;gt;&lt;br /&gt;
    &amp;lt;/data&amp;gt;&lt;br /&gt;
    &amp;lt;navigation&amp;gt;[//batman.com Official page]&amp;lt;/navigation&amp;gt;&lt;br /&gt;
&amp;lt;/infobox&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Infobox]]&lt;br /&gt;
* [[w:Help:Infoboxes]]&lt;br /&gt;
* [[w:Help:templates|templates]]&lt;br /&gt;
[[es:Infobox/Básico]]&lt;br /&gt;
[[Category:Infobox]]&lt;/div&gt;</summary>
		<author><name>porhub&gt;BaRaN6161TURK</name></author>
	</entry>
</feed>