Template:Navbar: Difference between revisions

From RangerMSP Wiki - PSA software for MSPs and IT services providers
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 1px;"></td>
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 1px;"></td>
| <td style="border: none; padding: 2px 0px 2px 0.9em; text-align: center;">
| <td style="border: none; padding: 2px 0px 2px 0.9em; text-align: center;">
  {{#if:{{{image|}}}
{{#if:{{{image|}}}
  | {{{image}}}
| {{{image}}}
  | {{#switch:{{{type|}}}
| {{#switch:{{{type|}}}
    | speedy  = [[Image:Ambox warning pn.svg|40px]]
| speedy  = [[Image:Ambox warning pn.svg|40px]]
    | delete  = [[Image:Ambox warning pn.svg|40px]]
| delete  = [[Image:Ambox warning pn.svg|40px]]
    | content  = [[Image:Ambox Content.svg|40px]]
| content  = [[Image:Ambox Content.svg|40px]]
    | style    = [[Image:Ambox warning yellow.svg|40px]]
| style    = [[Image:Ambox warning yellow.svg|40px]]
    | license = [[Image:Imbox license.png|40px]]
| license = [[Image:Imbox license.png|40px]]
    | nonfreelicense = [[Image:Red copyright.svg|40px]]
| nonfreelicense = [[Image:Red copyright.svg|40px]]
    | featured  = [[Image:Imbox featured.png|40px]]
| featured  = [[Image:Imbox featured.png|40px]]
    | notice          <!-- notice = default -->
| notice          <!-- notice = default -->
    | #default  = [[Image:Information icon4.svg|40px]]
| #default  = [[Image:Information icon4.svg|40px]]
    }}
}}
  }}</td>
}}</td>
}}
}}
<td style="border: none; padding: 0.25em 0.9em; width: 100%; {{{textstyle|}}}"> {{{text}}} </td>
<td style="border: none; padding: 0.25em 0.9em; width: 100%; {{{textstyle|}}}"> {{{text}}} </td>
Line 35: Line 35:
}}
}}
</tr></table>
</tr></table>
<noinclude>
===Examples===
{{imbox
| type  = speedy
| text  = type=<u>speedy</u> – Speedy deletion
}}
{{imbox
| type  = delete
| text  = type=<u>delete</u> – Deletion
}}
{{imbox
| type  = content
| text  = type=<u>content</u> – Content issues
}}
{{imbox
| type  = style
| text  = type=<u>style</u> – Style issues
}}
{{imbox
| type  = license
| text  = type=<u>license</u> – License tags
}}
{{imbox
| type  = nonfreelicense
| text  = type=<u>nonfreelicense</u> – Non-free License tags
}}
{{imbox
| type  = notice
| text  = type=<u>notice</u> – General notices
}}
</noinclude>

Revision as of 07:28, 12 August 2009

{{#ifeq:|none | | }}

{{#if:

|

}}