Difference between revisions of "Template:Hlist"

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>Redrose64
(unnecessary: {{documentation}} does this)
imported>Frietjes
(add ten more)
Line 2: Line 2:
  
 
  ----------(unbulleted list code:)----------
 
  ----------(unbulleted list code:)----------
  -->{{#if:{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{8|}}}{{{9|}}}{{{10|}}}{{{11|}}}{{{12|}}}{{{13|}}}{{{14|}}}{{{15|}}}{{{16|}}}{{{17|}}}{{{18|}}}{{{19|}}}{{{20|}}}{{{21|}}}{{{22|}}}{{{23|}}}{{{24|}}}{{{25|}}}{{{26|}}}{{{27|}}}{{{28|}}}{{{29|}}}{{{30|}}}{{{31|}}}{{{32|}}}{{{33|}}}{{{34|}}}{{{35|}}}{{{36|}}}{{{37|}}}{{{38|}}}{{{39|}}}{{{40|}}}{{{41|}}}{{{42|}}}{{{43|}}}{{{44|}}}{{{45|}}}{{{46|}}}{{{47|}}}{{{48|}}}{{{49|}}}{{{50|}}}
+
  -->{{#if:{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{8|}}}{{{9|}}}{{{10|}}}{{{11|}}}{{{12|}}}{{{13|}}}{{{14|}}}{{{15|}}}{{{16|}}}{{{17|}}}{{{18|}}}{{{19|}}}{{{20|}}}{{{21|}}}{{{22|}}}{{{23|}}}{{{24|}}}{{{25|}}}{{{26|}}}{{{27|}}}{{{28|}}}{{{29|}}}{{{30|}}}{{{31|}}}{{{32|}}}{{{33|}}}{{{34|}}}{{{35|}}}{{{36|}}}{{{37|}}}{{{38|}}}{{{39|}}}{{{40|}}}{{{41|}}}{{{42|}}}{{{43|}}}{{{44|}}}{{{45|}}}{{{46|}}}{{{47|}}}{{{48|}}}{{{49|}}}{{{50|}}}{{{51|}}}{{{52|}}}{{{53|}}}{{{54|}}}{{{55|}}}{{{56|}}}{{{57|}}}{{{58|}}}{{{59|}}}{{{60|}}}
 
     |<div class="plainlist"><!--
 
     |<div class="plainlist"><!--
 
       --><ul style="{{{ul_style|}}}"><!--
 
       --><ul style="{{{ul_style|}}}"><!--
Line 55: Line 55:
 
           -->{{#if:{{{49|}}}|<li style="{{{li_style|}}}{{{li_style49|}}}">{{{49}}}</li>}}<!--
 
           -->{{#if:{{{49|}}}|<li style="{{{li_style|}}}{{{li_style49|}}}">{{{49}}}</li>}}<!--
 
           -->{{#if:{{{50|}}}|<li style="{{{li_style|}}}{{{li_style50|}}}">{{{50}}}</li>}}<!--
 
           -->{{#if:{{{50|}}}|<li style="{{{li_style|}}}{{{li_style50|}}}">{{{50}}}</li>}}<!--
 +
          -->{{#if:{{{51|}}}|<li style="{{{li_style|}}}{{{li_style51|}}}">{{{51}}}</li>}}<!--
 +
          -->{{#if:{{{52|}}}|<li style="{{{li_style|}}}{{{li_style52|}}}">{{{52}}}</li>}}<!--
 +
          -->{{#if:{{{53|}}}|<li style="{{{li_style|}}}{{{li_style53|}}}">{{{53}}}</li>}}<!--
 +
          -->{{#if:{{{54|}}}|<li style="{{{li_style|}}}{{{li_style54|}}}">{{{54}}}</li>}}<!--
 +
          -->{{#if:{{{55|}}}|<li style="{{{li_style|}}}{{{li_style55|}}}">{{{55}}}</li>}}<!--
 +
          -->{{#if:{{{56|}}}|<li style="{{{li_style|}}}{{{li_style56|}}}">{{{56}}}</li>}}<!--
 +
          -->{{#if:{{{57|}}}|<li style="{{{li_style|}}}{{{li_style57|}}}">{{{57}}}</li>}}<!--
 +
          -->{{#if:{{{58|}}}|<li style="{{{li_style|}}}{{{li_style58|}}}">{{{58}}}</li>}}<!--
 +
          -->{{#if:{{{59|}}}|<li style="{{{li_style|}}}{{{li_style59|}}}">{{{59}}}</li>}}<!--
 +
          -->{{#if:{{{60|}}}|<li style="{{{li_style|}}}{{{li_style60|}}}">{{{60}}}</li>}}<!--
 
       --></ul><!--
 
       --></ul><!--
 
   --></div><!--
 
   --></div><!--

Revision as of 22:32, 19 April 2013

Template documentation

{{hlist}} may be used in place of Template:((flatlist|Template:((unbulleted listTemplate:))Template:)) when creating horizontal lists (hlists) of items in one line of code (i.e. use {{hlist |...}} rather than {{flatlist|{{unbulleted list |...}}}}).

The syntax is the same as for unbulleted list, i.e. Template:((hlist |item1 |item2 |item3 ... |item50Template:)). The extra parameters offered by flatlist and unbulleted list are also available.