Template:Jam occurrence: Difference between revisions

From VNDev Wiki
m SMW format tweak
Tag: Reverted
autogenerate number in series property
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
{{Infobox
| bodyclass  = vevent
| bodyclass  = vevent
| bodystyle  = {{{bodystyle|}}}
| title      = {{{title|<includeonly>{{PAGENAME}}</includeonly><noinclude><nowiki>{{{title}}}</nowiki></noinclude>}}}
| title      = {{{title|{{{name|<includeonly>{{PAGENAME}}</includeonly><noinclude><nowiki>{{{title}}}</nowiki></noinclude>}}}}}}
| titleclass = summary
| titleclass = summary
| labelstyle = white-space: nowrap;
| labelstyle = white-space: nowrap;
| label1    = Occurrence of
| label1    = Occurrence of
| data1      = <includeonly>[[</includeonly>{{{series|{{{occurrenceOf|{{{instanceOf|<noinclude><nowiki>{{{series}}}</nowiki></noinclude>}}}}}}}}}<includeonly>]]</includeonly>
| data1      = [[Is occurrence of::{{{occurrenceOf}}}]]
| label2    = Version <!--Used for jams with multiple versions, such as Velox, O2A2, or Ukrainian-->
| label2    = Version <!--Used for jams with multiple versions, such as Velox, O2A2, or Ukrainian-->
| data2      = {{{version|{{{ver|<noinclude><nowiki>{{{version}}}</nowiki></noinclude>}}}}}}
| data2      = {{#if: {{{version|<noinclude>x</noinclude>}}}|[[Is version::{{{version}}}]]}}
| label3    = Number in series <!--For jams with multiple versions, give the sequence number within that version-->
| label3    = Number in series
| data3      = {{{number|{{{num|<noinclude><nowiki>{{{number}}}</nowiki></noinclude>}}}}}}
| data3      = [[Is number in series::{{#expr: {{#ask: [[Jam occurrence:+]] [[Is occurrence of::{{{occurrenceOf}}}]] [[Has start date::<<{{{start}}}]] {{#if: {{{version|}}} | [[Is version::{{{version}}}]] |}} |format=count |headers=none |link=none}} + 1}}]]
| label4    = [[Property:Start Date|Start Date]]
| label4    = Start Date
| data4      = [[Has start date::{{#dateformat:{{{start}}}|ymd}}]]
| data4      = [[Has start date::{{{start}}}]]
| label5    = End Date
| label5    = End Date
| data5      = {{{end|<noinclude><nowiki>{{{end}}}</nowiki></noinclude>}}}
| data5      = [[Has end date::{{{end}}}]]
| label6    = Year
| data6      = {{{year|<noinclude><nowiki>{{{year}}}</nowiki></noinclude>}}}
| label7    = Participants
| label7    = Participants
| data7      = {{{participants|{{{partic|<noinclude><nowiki>{{{participants}}}</nowiki></noinclude>}}}}}}
| data7      = [[Has participants::{{{participants|}}}]]
| label8    = Entries
| label8    = Entries
| data8      = {{{entries|{{{submissions|{{{subs|<noinclude><nowiki>{{{entries}}}</nowiki></noinclude>}}}}}}}}}
| data8      = [[Has entries::{{{entries|}}}]]
| label9    = Visual novels only?
| label9    = Visual novels only?
| data9      = {{{vnOnly|<noinclude><nowiki>{{{vnOnly}}}</nowiki></noinclude>}}}
| data9      = [[Is visual novels only::{{{vnOnly}}}]]
| label10    = Jam page
| label10    = Jam page
| data10    = {{{page|{{{url|<noinclude><nowiki>{{{page}}}</nowiki></noinclude>}}}}}}
| data10    = {{#if: {{{url|<noinclude>x</noinclude>}}} | [[Has URL::{{{url}}}]]}}
| label11    = Competitive?
| label11    = Competitive?
| data11    = {{{competitive|{{{comp|<noinclude><nowiki>{{{competitive}}}</nowiki></noinclude>}}}}}}
| data11    = [[Is competitive::{{{competitive|False}}}]]
| label12    = Top Prize
| label12    = Top Prize
| data12    = {{{topPrize|{{{top_prize|<includeonly>$0</includeonly><noinclude><nowiki>{{{topPrize}}}</nowiki></noinclude>}}}}}}
| data12    = [[Has top prize::{{{topPrize|<includeonly>0 USD</includeonly>}}}]]
| label13    = Total Prize Pool
| label13    = Total Prize Pool
| data13    = {{{prizePool|{{{prize_pool|{{{totalPrize|{{{total_prize|<includeonly>$0</includeonly><noinclude><nowiki>{{{prizePool}}}</nowiki></noinclude>}}}}}}}}}}}}
| data13    = [[Has prize pool::{{{prizePool|<includeonly>0 USD</includeonly>}}}]]
}}<!--
}}
<includeonly>[[Category:Occurrences of {{{occurrenceOf}}}]]<!--


--><includeonly>[[Category:Occurrences of {{{series|{{{occurrenceOf|{{{instanceOf|unknown jams}}}}}}}}}]]</includeonly><!--
-->[[Has short name::{{PAGENAME}}|]]</includeonly>
 
<noinclude>
--><noinclude>
{{documentation}}[[Category:Jam data templates]]
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 09:58, 28 January 2025

{{{title}}}
Occurrence of {{{occurrenceOf}}}
Version {{{version}}}
Number in series Expression error: Unrecognized word "span".
Start Date {{{start}}}
End Date {{{end}}}
Participants
Entries
Visual novels only? {{{vnOnly}}}
Jam page {{{url}}}
Competitive? False
Top Prize
Total Prize Pool


Documentation icon Template documentation [view] [edit] [purge]
{{Jam occurrence
| title       =   <!--Can also use "name", or will default to the name of the page-->
| series      =   <!--If article for jam series exists, give exact title. Otherwise, use longest form of jam name, without abbreviations, title case. Can also use "occurrenceOf" or "instanceOf"-->
| version     =   <!--Used for jams with multiple versions, such as Velox, O2A2, or Ukrainian. Can also use "ver"-->
| number      =   <!--Give a numeral only, no "st" or "th" etc. For jams with multiple versions, give the sequence number within that version. Can also use "num"-->
| start       =   <!--Use {{#dateformat:jan 1 2025}}-->
| end         =   <!--Use {{#dateformat:jan 1 2025}}-->
| year        = 
| partic      =   <!--Can also use "participants"-->
| entries     =   <!--Can also use "submissions" or "subs"-->
| vnOnly      =   <!--Whether the jam is visual novels only, or accepts other types of games. Set as "Yes" or "No".-->
| page        =   <!--Can also use "url"-->
| competitive =   <!--Set as "Yes" or "No". Can also use "comp"-->
| topPrize    =   <!--Give amount and currency abbreviation (USD, GBP, etc.) Defaults to $0. Can also use "top_prize"-->
| prizePool   =   <!--Give amount and currency abbreviation (USD, GBP, etc.) Defaults to $0. Can also use "prize_pool", "totalPrize", or "total_prize"-->
}}