Template:Beach Event: Difference between revisions

From zunagi

mNo edit summary
mNo edit summary
Β 
(65 intermediate revisions by the same user not shown)
Line 3: Line 3:
Β  |title_mode=replace
Β  |title_mode=replace
Β  |description={{{description|Australian beach volleyball tournament and event calendar covering national, state and local competitions.}}}
Β  |description={{{description|Australian beach volleyball tournament and event calendar covering national, state and local competitions.}}}
Β  |image={{{image|https://zunagi.com/wiki/images/3/3b/Zunagi-Australian-Beach-Volleyball-Calendar.png}}}
Β  |image={{{image|https://zunagi.com/wiki/images/c/c3/Zunagi-Beach-Calendar.png}}}
Β  |image_alt={{{image_alt|Australian Beach Volleyball Calendar}}}
Β  |image_alt={{{image_alt|Australian Beach Volleyball Calendar}}}
}}
}}
{{Hide heading}}__NOTOC__<span style="font-size: 1.4em;">'''{{{title}}}'''</span>
{{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 (2026–27)}}}|← Back to Calendar]]</span>
<div class="zunagi-event-subheading" style="font-size:0.95em; font-style:italic; color:#666; margin:4px 0 12px 0;">{{{series}}} &middot; {{{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"
|-
|-
! Series
! Organisation
| {{{series}}}
| {{#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
| <span class="state-icon {{{region_code}}}"></span> {{{region}}}
| {{{region}}}
|-
! Organisation
| [{{{org_url}}} {{{org}}}]
|-
|-
! 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>
<span class="zunagi-back-link">[[{{{calendar|Australian Beach Volleyball Calendar (2026–27)}}}|← Back to Calendar]]</span>
{{#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>}}
<div class="zunagi-calendar-disclaimer">
{{NBVA Points Table|org_code={{{org_code|}}}|region_code={{{region_code|}}}|draw_size={{{abvrs_draw_size|}}}|divisions={{{abvrs_divisions|}}}}}
'''Please note:''' Event information is provided as a guide only and may be subject to change. Please refer to the relevant organiser's website for the latest event details and registration information.
{{ABVRS Points Table|rating={{{abvrs_rating|}}}|draw_size={{{abvrs_draw_size|}}}|divisions={{{abvrs_divisions|}}}|org_code={{{org_code|}}}|region_code={{{region_code|}}}}}
</div>
</div>{{#if:{{{season|}}}|[[Category:{{{season}}} Season]]}}<noinclude>
</div><noinclude>
== Usage ==
== Usage ==
<pre>
<pre>
{{Event
{{Beach Event
|title=
|title=
|series=
|series=
|season=
|date=
|date=
|venue=
|venue=
|venue_url=
|venue_url=
|region=
|region=
|region_code=
|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

{{{title}}}
{{{series}}} · {{{season}}} Season

← Back to Calendar

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
⚠️ 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.


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.