Template:Distro Resources/Line: Difference between revisions
From Xen
Jump to navigationJump to search
Lars.kurth (talk | contribs) No edit summary |
Lars.kurth (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
|-valign="top" |
|-valign="top" |
||
!style="text-align: left;"| {{{1}}} |
!style="text-align: left;"| {{{1}}} |
||
!style="text-align: left; font-size: 100%; font-weight: none;"{{{2}}} |
!style="text-align: left; font-size: 100%; font-weight: none;"|{{{2}}} |
||
!style="text-align: left; font-size: 100%; font-weight: none;"{{{3}}} |
!style="text-align: left; font-size: 100%; font-weight: none;"|{{{3}}} |
||
!style="text-align: left; font-size: 100%; font-weight: none;"{{{4}}} |
!style="text-align: left; font-size: 100%; font-weight: none;"|{{{4}}} |
||
<noinclude>{{documentation}}</noinclude> |
<noinclude>{{documentation}}</noinclude> |
||
Revision as of 22:20, 24 June 2013
|-valign="top" !style="text-align: left;"| {{{1}}} !style="text-align: left; font-size: 100%; font-weight: none;"|{{{2}}} !style="text-align: left; font-size: 100%; font-weight: none;"|{{{3}}} !style="text-align: left; font-size: 100%; font-weight: none;"|{{{4}}}
[edit] []
Template documentation
Usage
This macro is intended to make the table in Template:Distro_Resources more easily manageable. Use, class prettytable, if possible. Use for a line in:
{|class="prettytable" |style="text-align: left; vertical-align: top;"
!style="width: 15%;"|Distro
!style="width: 11%;"|Main website
!style="width: 36%;"|Description
!style="width: 40%;"|Resources
<!-- USE TEMPLATE HERE -->
|}
Each line will look like:
{{Distro Resources/Line
|Arch Linux|[http://www.archlinux.org http://www.archlinux.org]
|Arch Linux is a lightweight and flexible Linux® distribution that tries to “keep it simple”.|
* [[Arch Linux as Xen Host]]
* [[Arch Linux as Xen Guest (PV)]]
* [[Arch Linux as Xen Guest (PVHVM)]]
* [[:Category:Arch_Linux|All Arch_Linux pages]]
}}
Which renders to
| Distro | Main website | Description | Resources |
|---|---|---|---|
| Arch Linux | http://www.archlinux.org | Arch Linux is a lightweight and flexible Linux® distribution that tries to “keep it simple”. |
|
| The above documentation is transcluded from Template:Distro Resources/Line/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |
