සැකිල්ල:Dul

Wikibooks වෙතින්
  • {{{1}}}


Use[සංස්කරණය]

Makes an unnumbered bullet item in a dark coloured box. Intended to alternate with Lul, all within Container. For full page widths or when the amount of text is sufficient to form more than one line for every bullet point, use Lightul and Darkul without a container in a stack.

Example[සංස්කරණය]

[[image:gerbera_pink.jpg|200px|thumb|right|Gerbera]]
{{Container|1=
{{dul|Short text}}
{{lul|{{text}}}}
{{dul|{{text}}}}
}}

Generates:

Gerbera
  • Short text
  • {{{1}}}
  • {{{1}}}


The smoke and mirrors ...
does not really exist. These templates merely reduce somewhat painstaking repetitive html code wrappings to a user friendly macro. These perform the coding needed to generate portable standard html for bulleted paragraphs:
 <td style="padding:2px 5px 2px 5px;">
 <ul><li>{{{content|{{{1}}} }}}
 </li></ul></td>

Note the use of  <td>...</td>, firstly says they expect a table element wrapper. Secondly suggests they can be alternated within  <tr>...</tr> wrappers to form a line with multiple columns, creating first a table with specific width parameters so they follow the leader, and stay in their own lane on each subsequent line.

See companion templates...
  • Use {{Lul}} and {{Dul}} to make the bullet strips.
  • Use {{Lightul}} and {{Darkul}} without a container, in a stack for full page widths or when the amount of text is sufficient to form more than one line for every bullet point.
  • Use {{container}} to include and bound combinations of the above listed beside an image.
"https://si.wikibooks.org/w/index.php?title=සැකිල්ල:Dul&oldid=26097" වෙතින් සම්ප්‍රවේශනය කෙරිණි