<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://nwod.org/wiki/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://nwod.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Help%3AList_format</id>
		<title>Help:List format - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://nwod.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Help%3AList_format"/>
		<link rel="alternate" type="text/html" href="http://nwod.org/wiki/index.php?title=Help:List_format&amp;action=history"/>
		<updated>2026-07-02T03:48:03Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.1</generator>

	<entry>
		<id>http://nwod.org/wiki/index.php?title=Help:List_format&amp;diff=28714&amp;oldid=prev</id>
		<title>West: Created page with &quot;The result formats '''list''', '''ol''' and '''ul''' are used to format query results as lists, bulleted lists, or numbered lists. The format &lt;tt&gt;list&lt;/tt...&quot;</title>
		<link rel="alternate" type="text/html" href="http://nwod.org/wiki/index.php?title=Help:List_format&amp;diff=28714&amp;oldid=prev"/>
				<updated>2011-06-17T22:03:41Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;The &lt;a href=&quot;/wiki/index.php/Help:Inline_queries&quot; title=&quot;Help:Inline queries&quot;&gt;result formats&lt;/a&gt; &amp;#39;&amp;#39;&amp;#39;list&amp;#39;&amp;#39;&amp;#39;, &amp;#39;&amp;#39;&amp;#39;ol&amp;#39;&amp;#39;&amp;#39; and &amp;#39;&amp;#39;&amp;#39;ul&amp;#39;&amp;#39;&amp;#39; are used to format query results as lists, bulleted lists, or numbered lists. The format &amp;lt;tt&amp;gt;list&amp;lt;/tt...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The [[Help:Inline queries|result formats]] '''list''', '''ol''' and '''ul''' are used to format query results as lists, bulleted lists, or numbered lists. The format &amp;lt;tt&amp;gt;list&amp;lt;/tt&amp;gt; is the default way of formatting query results for all queries that have no additional [[Help:Displaying information|printout statements]].&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
=== Examples for plain lists ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{#ask: [[Category:Vampire]] [[Clan::Daeva]] }}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Result:''' {{#ask: [[Category:Vampire]] [[Clan::Daeva]] }}&lt;br /&gt;
&lt;br /&gt;
If more printouts are given, then the format must be requested explicitly:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;{{#ask: [[Category:Vampire]] [[Clan::Daeva]] &lt;br /&gt;
| ?Covenant&lt;br /&gt;
| ?Status&lt;br /&gt;
| format=list&lt;br /&gt;
}}&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Result:''' {{#ask: [[Category:Vampire]] [[Clan::Daeva]] &lt;br /&gt;
| ?Covenant&lt;br /&gt;
| ?Status&lt;br /&gt;
| format=list&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The headers can be hidden by giving them empty labels:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;{{#ask: [[Category:Vampire]] [[Clan::Daeva]] &lt;br /&gt;
| ?Covenant =&lt;br /&gt;
| ?Status = &lt;br /&gt;
| format=list&lt;br /&gt;
}}&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Result:''' {{#ask: [[Category:Vampire]] [[Clan::Daeva]] &lt;br /&gt;
| ?Covenant =&lt;br /&gt;
| ?Status =&lt;br /&gt;
| format=list&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The same effect is achieved by &amp;lt;tt&amp;gt;headers=hide&amp;lt;/tt&amp;gt;. Another separator than «,» and the final «and» can be used if specified by &amp;lt;tt&amp;gt;sep&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{#ask: [[Category:Vampire]] [[Clan::Daeva]] | sep =  _and_ }}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Result:''' {{#ask: [[Category:Vampire]] [[Clan::Daeva]] | sep =  _and_ }}&lt;br /&gt;
&lt;br /&gt;
The underscores here are used to create spaces that are not removed by [[MediaWiki]] when reading the parameter.&lt;br /&gt;
&lt;br /&gt;
=== Examples for bulleted and numbered lists ===&lt;br /&gt;
&lt;br /&gt;
Ordered lists are created with &amp;lt;tt&amp;gt;ol&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;{{#ask: [[Category:Vampire]] [[Clan::Daeva]] &lt;br /&gt;
| ?Covenant&lt;br /&gt;
| ?area#km² = Size in km²&lt;br /&gt;
| format=ol&lt;br /&gt;
}}&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Result:''' &lt;br /&gt;
&lt;br /&gt;
{{#ask: [[Category:Vampire]] [[Clan::Daeva]] &lt;br /&gt;
| ?Covenant&lt;br /&gt;
| ?area#km² = Size in km²&lt;br /&gt;
| format=ol&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Unordered lists are created with &amp;lt;tt&amp;gt;ul&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;{{#ask: [[Category:Vampire]] [[Clan::Daeva]] &lt;br /&gt;
| ?Covenant&lt;br /&gt;
| ?area#km² = Size in km²&lt;br /&gt;
| format=ul&lt;br /&gt;
}}&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Result:''' &lt;br /&gt;
&lt;br /&gt;
{{#ask: [[Category:Vampire]] [[Clan::Daeva]] &lt;br /&gt;
| ?Covenant&lt;br /&gt;
| ?area#km² = Size in km²&lt;br /&gt;
| format=ul&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
The list formats introduce the following additional parameters:&lt;br /&gt;
* &amp;lt;tt&amp;gt;columns&amp;lt;/tt&amp;gt;: the number of columns into which to split up results (default is 1)&lt;br /&gt;
* &amp;lt;tt&amp;gt;sep&amp;lt;/tt&amp;gt;: the text to be used to separate items&lt;br /&gt;
* &amp;lt;tt&amp;gt;template&amp;lt;/tt&amp;gt;: the name of a template for template-based formatting&lt;br /&gt;
&lt;br /&gt;
The use of templates for formatting is explained in [[Help:Inline queries]].&lt;br /&gt;
&lt;br /&gt;
== Remarks ==&lt;br /&gt;
&lt;br /&gt;
Using the format &amp;lt;tt&amp;gt;list&amp;lt;/tt&amp;gt; with templates has the advantage of having the right amount of separators (e.g. «,») between results. For example, one can have a tempalte that formats email lists that can be copied and pasted into an email client, where each entry has the form&lt;br /&gt;
 &lt;br /&gt;
 Name of person &amp;lt;email@example.com&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It makes sense to set &amp;lt;tt&amp;gt;sep=,_&amp;lt;/tt&amp;gt; to have a list that uses commas for all separators instead of having the last one being an «and».&lt;/div&gt;</summary>
		<author><name>West</name></author>	</entry>

	</feed>