Main Page: Difference between revisions
>Kypho No edit summary |
Replace spotlight with recent tournaments |
||
| (30 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
<templatestyles src="Template:Home/styles.css" /> | <templatestyles src="Template:Home/styles.css" /> | ||
<div class="hero"> | <div class="hero"> | ||
| Line 11: | Line 9: | ||
<div class="card"> | <div class="card"> | ||
<div class="btn-row"> | <div class="btn-row"> | ||
{{#forminput:form=Player|button text=Add player|placeholder=Player name|returnto=Main Page}} | {{#forminput:form=Player|button text=Add player|placeholder=Player name|returnto=Main Page|query string=preload=Template:Preload/Player}} | ||
{{#forminput:form=Team|button text=Add team|placeholder=Team name or “A | {{#forminput:form=Team|button text=Add team|placeholder=Team name or “A/B”|returnto=Main Page|query string=preload=Template:Preload/Team}} | ||
{{# | {{#forminput:form=Tournament|button text=Add tournament|placeholder=Tournament Name|returnto=Main Page|query string=preload=Template:Preload/Tournament}} | ||
preload=Template:Preload/Tournament | |||
}} | |||
</div> | </div> | ||
</div> | </div> | ||
<div class="card"> | <div class="card"> | ||
| Line 62: | Line 55: | ||
}} | }} | ||
== | == Recent tournaments == | ||
{{#cargo_query: | |||
tables=Tournaments | |||
|fields=_pageName=Tournament, StartDate, City | |||
|where=StartDate < '{{#time:Y-m-d|+1 day}}' | |||
|order by=StartDate DESC | |||
|limit=8 | |||
|format=table | |||
|class=wikitable | |||
|default=No recent tournaments found. [[Special:FormEdit/Tournament|Add one ▸]] | |||
}} | |||
== About == | == About == | ||
Spike Wiki is a community effort to document roundnet history. See [[Help:Editing]] and [[About|About the project]]. | Spike Wiki is a community effort to document roundnet history. See [[Help:Editing]] and [[About|About the project]]. | ||