Difference between revisions of "Template:Infobox Milonga"
From Tangowiki
Line 1: | Line 1: | ||
− | <includeonly>{|border="1" cellpadding="4" align="right" style="border-color:#129c5d; border-width:2px; border-style:solid;background-color:#ffffff;text-align:left;font-size:smaller;width:275px;empty-cells:hide;border-collapse:collapse; margin-left:20px" | + | <includeonly>{|border="1" cellpadding="4" align="right" style="{#ifeq:{{{Practica}}}|Is Práctica|border-color:#51ca87;|border-color:#129c5d;}} border-width:2px; border-style:solid;background-color:#ffffff;text-align:left;font-size:smaller;width:275px;empty-cells:hide;border-collapse:collapse; margin-left:20px" |
|-style="{{#ifeq:{{{Practica}}}|Is Práctica|background-color:#51ca87;|background-color:#129c5d;}}color:#ffffff;font-size:140%;text-align:center" | |-style="{{#ifeq:{{{Practica}}}|Is Práctica|background-color:#51ca87;|background-color:#129c5d;}}color:#ffffff;font-size:140%;text-align:center" | ||
!colspan="2"|<br /><small>{{#ifeq:{{{Practica}}}|Is Práctica|Práctica|Milonga}}</small><br />{{BASEPAGENAME}}<br /><br /> | !colspan="2"|<br /><small>{{#ifeq:{{{Practica}}}|Is Práctica|Práctica|Milonga}}</small><br />{{BASEPAGENAME}}<br /><br /> | ||
Line 23: | Line 23: | ||
}} | }} | ||
|- | |- | ||
− | | style="background:#129c5d; color:#fff; text-align:center;" colspan="2" {{!}} {{#ifeq:{{{Practica}}}|Is Práctica|'''Práctica'''|'''Milonga'''}} | + | | style="{{#ifeq:{{{Practica}}}|Is Práctica|background-color:#51ca87;|background-color:#129c5d;}} color:#fff; text-align:center;" colspan="2" {{!}} {{#ifeq:{{{Practica}}}|Is Práctica|'''Práctica'''|'''Milonga'''}} |
{{#if: {{{Weekday|}}} | {{!-}} | {{#if: {{{Weekday|}}} | {{!-}} | ||
! align="left" {{!}} Weekday | ! align="left" {{!}} Weekday | ||
Line 41: | Line 41: | ||
}} | }} | ||
|- | |- | ||
− | | style="background:#129c5d; color:#fff; text-align:center;" colspan="2" {{!}} '''Contact''' | + | | style="{{#ifeq:{{{Practica}}}|Is Práctica|background-color:#51ca87;|background-color:#129c5d;}} color:#fff; text-align:center;" colspan="2" {{!}} '''Contact''' |
{{#if: {{{Organizer|}}} | {{!-}} | {{#if: {{{Organizer|}}} | {{!-}} | ||
! align="left" {{!}} Organizer | ! align="left" {{!}} Organizer |
Revision as of 01:02, 5 April 2015
[edit] [[[:Template:Purge]]] Template documentation
Description
This template is used for infoboxes on milonga pages. Do not use this template as it is, instead add a new milonga with the milonga form. This adds the page automatically to the milonga category.
Mastercode for embedding
Mandatory parts are marked bold.
{{ Infobox Milonga
| Filename =
| Caption =
| Official name =
| Venue =
| City =
| Country =
| Former venue =
| Milonga website =
| Facebook page =
| Práctica =
| Weekday =
| Start time =
| End time =
| Start =
| End =
| Active =
| Organizer =
| Organizer contact =
| Contact person =
| Contact =
| Table reservation =
| Telephone number =
| Music style =
| Additional information =
}}