Jump to content

Template:User OS:Ubuntu/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m Usage: clarify
m See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other
 
(4 intermediate revisions by one other user not shown)
Line 6: Line 6:
You can add version information to this template by using version and mode parameters.
You can add version information to this template by using version and mode parameters.


{{User OS:Ubuntu/examples|1=
{|class="wikitable

|-
{{!}}-
! Code !! Result !! Description
{{!}} <code><nowiki>{{User OS:Ubuntu | distro=Kubuntu}}</nowiki></code>
|-
| <code><nowiki>{{User OS:Ubuntu}}</nowiki></code>
{{!}} {{User OS:Ubuntu | distro=Kubuntu}}
{{!}} rowspan="2" {{!}} different colors for different distros, supported by {{tl|User OS:Ubuntu/font-color}} and {{tl|User OS:Ubuntu/bg-color}}: xubuntu, lubuntu, kubuntu, gobuntu, ubuntu, studio
| {{User OS:Ubuntu}}

| default
{{!}}-
|-
| <code><nowiki>{{User OS:Ubuntu | version = 9.10 | mode = num}}</nowiki></code>
{{!}} <code><nowiki>{{User OS:Ubuntu | version = 18.04 | mode = double | distro=Xubuntu}}</nowiki></code>
| {{User OS:Ubuntu | version = 9.10 | mode = num}}
{{!}} {{User OS:Ubuntu | version = 18.04 | mode = double | distro=Xubuntu}}

| with just the version '''num'''ber
}}
|-
| <code><nowiki>{{User OS:Ubuntu | version = 10.10 | mode = numone}}</nowiki></code>
| {{User OS:Ubuntu | version = 10.10 | mode = numone}}
| with the version '''num'''ber and '''one''' word of the codename of the release
|-
| <code><nowiki>{{User OS:Ubuntu | version = 11.04 | mode = numtwo}}</nowiki></code>
| {{User OS:Ubuntu | version = 11.04 | mode = numtwo}}
| with the version '''num'''ber and the full codename of the release ('''two''' words)
|-
| <code><nowiki>{{User OS:Ubuntu | version = 12.04 LTS | mode = numtwo}}</nowiki></code>
| {{User OS:Ubuntu | version = 12.04 LTS | mode = numtwo}}
| version marked as LTS also works
|-
| <code><nowiki>{{User OS:Ubuntu | distro=Kubuntu}}</nowiki></code>
| {{User OS:Ubuntu | distro=Kubuntu}}
| rowspan="2" | different colors for different distros, supported by {{tl|User OS:Ubuntu/font-color}} and {{tl|User OS:Ubuntu/bg-color}}: xubuntu, lubuntu, kubuntu, gobuntu, ubuntu, studio
|-
| <code><nowiki>{{User OS:Ubuntu | version = 18.04 | mode = double | distro=Xubuntu}}</nowiki></code>
| {{User OS:Ubuntu | version = 18.04 | mode = double | distro=Xubuntu}}
|-
| <code><nowiki>{{User OS:Ubuntu | version = 14.10 | nologo=yes}}</nowiki></code>
| {{User OS:Ubuntu | version = 14.10 | nologo=yes}}
| without logo
|}


== See also ==
== See also ==
* For one that emphasizes that Ubuntu is Linux, see [[Template:User UbuntuLinux]]
* For one that emphasizes that Ubuntu is Linux, see [[Template:User UbuntuLinux]]
* {{tl|ubuntu codename}}
* {{tl|ubuntu codename}}
{{User OS:Ubuntu/seealso}}


<includeonly>
<includeonly>{{Sandbox other||
[[Category:Operating system user templates/Linux|Ubuntu]]
[[Category:Operating system user templates/Linux|Ubuntu]]
</includeonly>
}}</includeonly>

Latest revision as of 02:44, 29 April 2020

This is a User OS template for Ubuntu.

Usage

[edit]

You can add version information to this template by using version and mode parameters.

Code Result Description
{{User OS:Ubuntu}} default
{{User OS:Ubuntu | distro=Kubuntu}}
Ubuntu logo.This user contributes using Kubuntu.
different colors for different distros, supported by {{User OS:Ubuntu/font-color}} and {{User OS:Ubuntu/bg-color}}: xubuntu, lubuntu, kubuntu, gobuntu, ubuntu, studio
{{User OS:Ubuntu | version = 18.04 | mode = double | distro=Xubuntu}}
Ubuntu logo.This user contributes using Xubuntu 18.04 Bionic Beaver.
{{User OS:Ubuntu | version = 9.10 | mode = num}}
Ubuntu logo.This user contributes using Ubuntu 9.10.
with just the version number
{{User OS:Ubuntu | version = 10.10 | mode = numone}}
Ubuntu logo.This user contributes using Ubuntu 10.10 Maverick.
with the version number and one word of the codename of the release
{{User OS:Ubuntu | version = 11.04 | mode = numtwo}}
Ubuntu logo.This user contributes using Ubuntu 11.04 Natty Narwal.
with the version number and the full codename of the release (two words)
{{User OS:Ubuntu | version = 12.04 LTS | mode = numtwo}}
Ubuntu logo.This user contributes using Ubuntu 12.04 LTS Precise Pangolin.
version marked as LTS also works
{{User OS:Ubuntu | version = 14.10 | nologo=yes}}
UbThis user contributes using Ubuntu 14.10.
without logo
{{User OS:Ubuntu | info-c=#CCFFCC | info-fc=black}}
Ubuntu logo.This user contributes using Ubuntu.
override colors

See also

[edit]