User:Rob Kennedy/Infobox Signal

class="infobox" style="width: 25em; text-align: left; font-size: 90%;"

|+ style="font-size: larger;" | {{{name|{{PAGENAME}}}}}

Description:

| {{{description|no description}}}

Default action:

| {{{action|no action indicated}}}

align="center" colspan="2" | SA_SIGINFO macros
{{#if:{{{1
}}||{{!}} colspan="2" {{!}} None

{{!}}-}}

{{#if:{{{1|}}}{{{2|}}}|! {{{1}}}

{{!}} {{{2}}}

{{!}}-|}}

{{#if:{{{3|}}}{{{4|}}}|! {{{3}}}

{{!}} {{{4}}}

{{!}}-|}}

{{#if:{{{5|}}}{{{6|}}}|! {{{5}}}

{{!}} {{{6}}}

{{!}}-|}}

{{#if:{{{7|}}}{{{8|}}}|! {{{7}}}

{{!}} {{{8}}}

{{!}}-|}}

{{#if:{{{9|}}}{{{10|}}}|! {{{9|}}}

{{!}} {{{10|}}}

{{!}}-|}}

{{#if:{{{11|}}}{{{12|}}}|! {{{11|}}}

{{!}} {{{12|}}}

{{!}}-|}}

{{#if:{{{13|}}}{{{14|}}}|! {{{13|}}}

{{!}} {{{14|}}}

{{!}}-|}}

{{#if:{{{15|}}}{{{16|}}}|! {{{15|}}}

{{!}} {{{16|}}}

{{!}}-|}}

|}

{{-}}

Usage

Use this infobox on pages about POSIX and other signals. Pages using this template are added to :Category:Signals. If there are any codes associated with the signal, specify them in a list after the named parameters to the infobox.

{{Infobox Signal

| name =

| description =

| action =

| SigInfo1 | Meaning1

| SigInfo2 | Meaning2

| …

| SigInfo8 | Meaning8

}}

= Parameters =

; name: (Optional) The name of the signal. If this parameter is omitted, the article title is used.

; description: Brief description of what the signal means

; action: The default action that occurs if the signal is not caught and handled

; SA_SIGINFO macros: A list of pairs of reason codes and their meanings. The template supports up to eight pairs.

See also