Template:Beach Event: Difference between revisions
mNo edit summary |
mNo edit summary Β |
||
| (63 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
Β |image_alt={{{image_alt|Australian Beach Volleyball Calendar}}} | Β |image_alt={{{image_alt|Australian Beach Volleyball Calendar}}} | ||
}} | }} | ||
{{Hide heading}}__NOTOC__< | {{Hide heading}}__NOTOC__<div class="zunagi-event-title" style="font-size: 1.4em; font-weight:bold; margin:0;">{{{title}}}{{#ifeq:{{lc:{{{major|}}}}}|yes|<span class="zunagi-major-badge">MAJOR</span>}}{{#ifeq:{{{category|}}}|Youth|<span class="zunagi-youth-badge">YOUTH</span>}}{{#ifeq:{{{category|}}}|Junior|<span class="zunagi-junior-badge">JUNIOR</span>}}</div> | ||
<span class="zunagi-back-link">[[{{{calendar|Australian Beach Volleyball Calendar | <div class="zunagi-event-subheading" style="font-size:0.95em; font-style:italic; color:#666; margin:4px 0 12px 0;">{{{series}}} · {{{season}}} Season</div> | ||
<span class="zunagi-back-link-top">[[{{{calendar|Australian Beach Volleyball Calendar {{{season|2026β27}}}}}}|β Back to Calendar]]</span> | |||
<div class="zunagi-event-page"> | <div class="zunagi-event-page"> | ||
{| class="zunagi-event-record" | {| class="zunagi-event-record" | ||
|- | |- | ||
! | ! Organisation | ||
| {{{ | | {{#invoke:Beach Org|cell|org_code={{{org_code|}}}|region_code={{{region_code|}}}|org={{{org|}}}|org_url={{{org_url|}}}}} | ||
|- | |- | ||
! Date | ! Date | ||
| {{{date}}} | | <span class="zunagi-date-icon"></span>{{{date}}} | ||
|- | |- | ||
! Venue | ! Venue | ||
| [{{{venue_url}}} {{{venue}}}] | | <span class="zunagi-venue-icon"></span>{{#if:{{{venue_url|}}}|[{{{venue_url}}} {{{venue|{{{venue_url}}}}}}]|{{#if:{{{venue|}}}|{{{venue}}}|''Not available yet''}}}} | ||
|- | |- | ||
! Region | ! Region | ||
| | | {{{region}}} | ||
|- | |- | ||
! Category | ! Category | ||
| Line 31: | Line 29: | ||
! Level | ! Level | ||
| {{{level}}} | | {{{level}}} | ||
|- | {{#if:{{{abvrs_rating|}}}| | ||
{{!}}- | |||
! ABVRS Rating | |||
{{!}} {{#invoke:ABVRS Points|ratingLabel|rating={{{abvrs_rating|}}}}} | |||
}} | |||
|-{{#ifeq:{{lc:{{{register_display|}}}}}|no| style="display:none;"}} | |||
! Registration | ! Registration | ||
| [{{{register_url}}} {{{register_text|Register / Event Information}}}] | | {{#if:{{{register_url|}}}|[{{{register_url}}} {{{register_text|Register / Event Information}}}]|{{#if:{{#invoke:Beach Org|url|org_code={{{org_code|}}}|region_code={{{region_code|}}}|org_url={{{org_url|}}}}}|''Not available yet β check with <span class="zunagi-registration-organiser-link">[{{#invoke:Beach Org|url|org_code={{{org_code|}}}|region_code={{{region_code|}}}|org_url={{{org_url|}}}}} organiser]</span>''|''Not available yet''}}}} | ||
|- | |-{{#ifeq:{{lc:{{{nominations_display|}}}}}|no| style="display:none;"}} | ||
! Nominations | ! Nominations | ||
| [{{{nominations_url}}} {{{nominations_text|Registered Teams}}}] | | {{#if:{{{nominations|}}}|{{{nominations}}}|{{#if:{{{nominations_url|}}}|[{{{nominations_url}}} {{{nominations_text|Registered Teams}}}]|''Not available yet''}}}} | ||
|- | |-{{#ifeq:{{lc:{{{results_display|}}}}}|no| style="display:none;"}} | ||
! Results | ! Results | ||
| {{{results|''Not available yet''}}} | | {{#if:{{{results|}}}|{{{results}}}|{{#if:{{{results_url|}}}|[{{{results_url}}} {{{results_text|View Results}}}]|''Not available yet''}}}} | ||
|} | |} | ||
Β | <div class="zunagi-calendar-disclaimer" style="background-color:#fdf6e0; border:1px solid #f0d979; border-radius:12px; padding:1em 1.25em; margin:1em 0 0 0; color:#8a6a13;">β οΈ '''Please note:''' Event information is provided as a guide only and may be subject to change. Refer to the relevant organiser's website for the latest event details and registration information.</div> | ||
Β | {{#ifeq:{{lc:{{#invoke:Beach Org|code|org_code={{{org_code|}}}|region_code={{{region_code|}}}}}}}|nbva|<div class="zunagi-nbva-points-tabs"><span class="zunagi-nbva-points-tab" data-tab="1" role="button" tabindex="0">AAA / AA / A</span><span class="zunagi-nbva-points-tab" data-tab="2" role="button" tabindex="0">BBB / BB / B</span></div>}} | ||
< | {{NBVA Points Table|org_code={{{org_code|}}}|region_code={{{region_code|}}}|draw_size={{{abvrs_draw_size|}}}|divisions={{{abvrs_divisions|}}}}} | ||
{{ABVRS Points Table|rating={{{abvrs_rating|}}}|draw_size={{{abvrs_draw_size|}}}|divisions={{{abvrs_divisions|}}}|org_code={{{org_code|}}}|region_code={{{region_code|}}}}} | |||
'''Please note:''' Event information is provided as a guide only and may be subject to change. | </div>{{#if:{{{season|}}}|[[Category:{{{season}}} Season]]}}<noinclude> | ||
</div> | |||
</div><noinclude> | |||
== Usage == | == Usage == | ||
<pre> | <pre> | ||
{{Event | {{Beach Event | ||
|title= | |title= | ||
|series= | |series= | ||
|season= | |||
|date= | |date= | ||
|venue= | |venue= | ||
|venue_url= | |venue_url= | ||
|region= | |region= | ||
|org= | |org= | ||
|org_code= | |||
|org_url= | |org_url= | ||
|register_display= | |||
|register_url= | |register_url= | ||
|nominations_display= | |||
|nominations_url= | |nominations_url= | ||
|nominations= | |||
|results_display= | |||
|results_url= | |||
|results= | |results= | ||
}} | }} | ||
</pre> | </pre> | ||
'''Note:''' <code>org_code</code> is the current parameter and should be used on all new/updated pages β it drives both the state icon and the default Organisation link/label, looked up from [[Module:Beach Org]]. <code>region_code</code> is deprecated but still supported as a fallback so existing pages keep working until they're migrated to <code>org_code</code>. <code>org</code> and <code>org_url</code> are optional overrides β leave them out (or blank) to use the automatic default for the given <code>org_code</code>; a blank <code>|org=</code> or <code>|org_url=</code> line is treated the same as leaving it out entirely, it will not suppress the default. | |||
'''Note:''' <code>register_display</code>, <code>nominations_display</code> and <code>results_display</code> are optional per-row visibility flags. Set one to <code>no</code> to hide that row (it stays in the page's HTML, just hidden via CSS `display:none`, so any surrounding borders/spacing stay clean) β any other value, or leaving it out, renders the row exactly as before. | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 19:43, 18 September 2026
| Organisation | Not available yet |
|---|---|
| Date | {{{date}}} |
| Venue | Not available yet |
| Region | {{{region}}} |
| Category | {{{category}}} |
| Level | {{{level}}} |
| Registration | Not available yet |
| Nominations | Not available yet |
| Results | Not available yet |
Usage
{{Beach Event
|title=
|series=
|season=
|date=
|venue=
|venue_url=
|region=
|org=
|org_code=
|org_url=
|register_display=
|register_url=
|nominations_display=
|nominations_url=
|nominations=
|results_display=
|results_url=
|results=
}}
Note: org_code is the current parameter and should be used on all new/updated pages β it drives both the state icon and the default Organisation link/label, looked up from Module:Beach Org. region_code is deprecated but still supported as a fallback so existing pages keep working until they're migrated to org_code. org and org_url are optional overrides β leave them out (or blank) to use the automatic default for the given org_code; a blank |org= or |org_url= line is treated the same as leaving it out entirely, it will not suppress the default.
Note: register_display, nominations_display and results_display are optional per-row visibility flags. Set one to no to hide that row (it stays in the page's HTML, just hidden via CSS `display:none`, so any surrounding borders/spacing stay clean) β any other value, or leaving it out, renders the row exactly as before.