Form:Resource: Difference between revisions
From PC Gaming Shelter
No edit summary |
No edit summary |
||
| Line 8: | Line 8: | ||
|regexp=/^https?:\/\/[^\s/$.?#].[^\s]*$/ | |regexp=/^https?:\/\/[^\s/$.?#].[^\s]*$/ | ||
|message=Enter a valid URL starting with http:// or https:// | |message=Enter a valid URL starting with http:// or https:// | ||
|class=form-control | |||
}}} | }}} | ||
|label=URL: | |label=URL: | ||
| Line 17: | Line 18: | ||
|input type=tokens | |input type=tokens | ||
|values from property=Related game | |values from property=Related game | ||
|class=form-control | |||
}}} | }}} | ||
|label=Game: | |label=Game: | ||
| Line 27: | Line 29: | ||
|property=Has resource type | |property=Has resource type | ||
|show on select=Video=>video; | |show on select=Video=>video; | ||
|class=form-control | |||
}}} | }}} | ||
|label=Media type: | |label=Media type: | ||
| Line 36: | Line 39: | ||
|input type=checkboxes | |input type=checkboxes | ||
|property=Has content type | |property=Has content type | ||
|class=form-control | |||
}}} | }}} | ||
|label=Content type: | |label=Content type: | ||
| Line 44: | Line 48: | ||
|input type=checkbox | |input type=checkbox | ||
|label=Has spoilers | |label=Has spoilers | ||
|class=form-control | |||
}}} | }}} | ||
{{form row | {{form row | ||
| Line 49: | Line 54: | ||
|Has date | |Has date | ||
|input type=datepicker | |input type=datepicker | ||
|class=form-control | |||
}}} | }}} | ||
|label=Date: | |label=Date: | ||
| Line 57: | Line 63: | ||
|Created by | |Created by | ||
|input type=text | |input type=text | ||
|class=form-control | |||
}}} | }}} | ||
|label=Created by: | |label=Created by: | ||
| Line 67: | Line 74: | ||
|property=Has language | |property=Has language | ||
|existing values only | |existing values only | ||
|class=form-control | |||
}}} | }}} | ||
|label=Language: | |label=Language: | ||
| Line 77: | Line 85: | ||
|label=Has subtitles | |label=Has subtitles | ||
|show on select=Yes=>subtitle-lang; | |show on select=Yes=>subtitle-lang; | ||
|class=form-control | |||
}}} | }}} | ||
<div id="subtitle-lang"> | <div id="subtitle-lang"> | ||
| Line 85: | Line 94: | ||
|property=Has language | |property=Has language | ||
|existing values only | |existing values only | ||
|class=form-control | |||
}}} | }}} | ||
|label=Language of subtitles: | |label=Language of subtitles: | ||
Revision as of 08:41, 2 July 2026
