Form:Featured: Difference between revisions
From PC Gaming Shelter
Created page with "<includeonly> {{{info|create titlee=Create|edit title=Edit}}} {{{for template|Featured|label=Featured content}}} {{form row |{{{field |mediatype |input type=dropdown |values=Video,Image |mandatory |default=video |class=form-control |show on select=video=>video-fields;image=>image-fields }}} |label=Content type: |property=Has featured media type }} |- ! Featured category: | {{{field|featured category |input type=combobox |values=Picture of the Month,Video..." |
No edit summary |
||
| (3 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 15: | Line 15: | ||
|property=Has featured media type | |property=Has featured media type | ||
}} | }} | ||
{{form row | {{form row | ||
|{{{field | |{{{field | ||
| Line 75: | Line 69: | ||
}}} | }}} | ||
|label=Image: | |label=Image: | ||
|property=Has | |property=Has featured media | ||
}} | }} | ||
{{form row | {{form row | ||
| Line 117: | Line 111: | ||
}} | }} | ||
{{{end template}}} | {{{end template}}} | ||
</includeonly> | </includeonly><noinclude> | ||
* {{#queryformlink: form=FeaturedLink | |||
|link text=Video of the Month | |||
|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 | |||
|FeaturedLink[featured date]={{#time:F Y}} | |||
|FeaturedLink[mediatype]=Image | |||
|FeaturedLink[category]=Picture of the Month | |||
|_run=1 | |||
}} | |||
</noinclude> | |||
