Template:Quote/doc

Template page

{{#vardefine: nodoc | {{{nodoc}}} }}{{#vardefine: baddoc | {{{baddoc}}} }}{{#if: | {{#ifeq: doc | doc | |

}} }}

[[File:Template-{{#if: | no | {{#if: | bad }} }}info.png|50px|bottom]] Documentation
{{#if: | This template has no documentation. If you know how to use this template, please add some.{{#ifeq: doc | doc | |}} |{{#if: | This template's documentation has been marked as bad. Please improve or add to it.{{#ifeq: doc | doc | |}}}} }}

This template is used to quote a person or source. The color of the quotes themselves should be changed to match the wiki skin color palette.

Usage

{{Quote|This is a quote.}} prints:

{{ #if: | | {{ #if: | rowspan="2" | }} [[File:{{{4}}}|64px]] }}
This is a quote.

{{#if: |

~ {{{2}}}{{ #if: |  on {{{3}}}}} }}

{{Quote|This is a quote.|Author}} prints:

{{ #if: | | {{ #if: Author | rowspan="2" | }} [[File:{{{4}}}|64px]] }}
This is a quote.

{{#if: Author |

~ Author{{ #if: |  on {{{3}}}}} }}

{{Quote|This is a quote.|Author|subject}} prints:

{{ #if: | | {{ #if: Author | rowspan="2" | }} [[File:{{{4}}}|64px]] }}
This is a quote.

{{#if: Author |

~ Author{{ #if: subject |  on subject}} }}

{{Quote|This is a quote.|[[Main Page|Some guy]]|subject}} prints:

{{ #if: | | {{ #if: Some guy | rowspan="2" | }} [[File:{{{4}}}|64px]] }}
This is a quote.

{{#if: Some guy |

~ Some guy{{ #if: subject |  on subject}} }}

{{Quote|This is a quote.|[[Main Page|Some guy]]|subject|Cleanup.svg}} prints:

{{ #if: Cleanup.svg | | {{ #if: Some guy | rowspan="2" | }} File:Cleanup.svg }}
This is a quote.

{{#if: Some guy |

~ Some guy{{ #if: subject |  on subject}} }}

Images are automatically scaled in width to 64px.

{{#ifeq: doc | doc |

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.

| }}