Form:Featured: Difference between revisions
From PC Gaming Shelter
No edit summary |
No edit summary |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{{info|create | {{{info|create title=Create|edit title=Edit}}} | ||
{{{for template|Featured|label=Featured content}}} | {{{for template|Featured|label=Featured content}}} | ||
{{form row | {{form row | ||
| Line 10: | Line 10: | ||
|default=video | |default=video | ||
|class=form-control | |class=form-control | ||
|show on select= | |show on select=Video=>video-fields;Image=>image-fields | ||
}}} | }}} | ||
|label=Content type: | |label=Content type: | ||
| Line 111: | Line 111: | ||
}} | }} | ||
{{{end template}}} | {{{end template}}} | ||
__NOEDITSECTION__ | |||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{#queryformlink: form=FeaturedLink | * {{#queryformlink: form=FeaturedLink | ||
|link text= | |link text=Video of the Month (''{{#time:F Y}}'') | ||
|FeaturedLink[featured date]={{#time:F Y}} | |FeaturedLink[featured date]={{#time:F Y}} | ||
|FeaturedLink[mediatype]=Video | |||
|FeaturedLink[category]=Video of the Month | |||
|_run=1 | |||
}} | |||
* {{#queryformlink: form=FeaturedLink | |||
|link text=Picture of the Month (''{{#time:F Y}}'') | |||
|FeaturedLink[featured date]={{#time:F Y}} | |||
|FeaturedLink[mediatype]=Image | |||
|FeaturedLink[category]=Picture of the Month | |||
|_run=1 | |||
}} | |||
* {{#queryformlink: form=FeaturedLink | |||
|link text=Video of the Month (''{{#time:F Y|now + 1 month}}'') | |||
|FeaturedLink[featured date]={{#time:F Y|now + 1 month}} | |||
|FeaturedLink[mediatype]=Video | |||
|FeaturedLink[category]=Video of the Month | |||
|_run=1 | |||
}} | |||
* {{#queryformlink: form=FeaturedLink | |||
|link text=Picture of the Month (''{{#time:F Y|now + 1 month}}'') | |||
|FeaturedLink[featured date]={{#time:F Y|now + 1 month}} | |||
|FeaturedLink[mediatype]=Image | |||
|FeaturedLink[category]=Picture of the Month | |||
|_run=1 | |||
}} | |||
* {{#queryformlink: form=FeaturedLink | |||
|link text=Video of the Month (''{{#time:F Y|now + 2 months}}'') | |||
|FeaturedLink[featured date]={{#time:F Y|now + 2 months}} | |||
|FeaturedLink[mediatype]=Video | |||
|FeaturedLink[category]=Video of the Month | |||
|_run=1 | |||
}} | |||
* {{#queryformlink: form=FeaturedLink | |||
|link text=Picture of the Month (''{{#time:F Y|now + 2 months}}'') | |||
|FeaturedLink[featured date]={{#time:F Y|now + 2 months}} | |||
|FeaturedLink[mediatype]=Image | |||
|FeaturedLink[category]=Picture of the Month | |||
|_run=1 | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
