Difference between revisions of "User:GrampaSwood/Template:ReservationUpdate"
GrampaSwood (talk | contribs) |
GrampaSwood (talk | contribs) (Test) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{#switch: {{{1|begin}}} | |
− | + | | end = </div> | |
− | + | | begin | #default = <div style="clear: both; margin: 1em 0 0 0; border:3px solid #aaa; border-color: {{#switch: {{lc:{{{status|nodemo}}}}} | |
− | |||
− | |||
| review needed = orange | | review needed = orange | ||
| approved = green | | approved = green | ||
Line 9: | Line 7: | ||
}}; padding: 1em;"> | }}; padding: 1em;"> | ||
{{Reservation|{{{reservation|No one}}}}}<br>{{#if:{{{changes|}}}|{{{changes}}}<br>|}}{{#if:{{{video|}}}|[{{{video}}} Demonstration link]<br>|}} | {{Reservation|{{{reservation|No one}}}}}<br>{{#if:{{{changes|}}}|{{{changes}}}<br>|}}{{#if:{{{video|}}}|[{{{video}}} Demonstration link]<br>|}} | ||
− | {{{ | + | {{info}}'''Status''': {{#switch: {{lc:{{{status}}}}} |
− | </div | + | | review needed = Review needed |
+ | | approved = Demonstration approved | ||
+ | | nodemo | #default = No demonstration submitted | ||
+ | }} | ||
+ | }}<noinclude></div> | ||
{{Doc begin}} | {{Doc begin}} | ||
Template used on the [[Team Fortress Wiki talk:Weapon Demonstration|Weapon Demonstration project talk page]]. Used to easily identify which demonstrations need reviewing. | Template used on the [[Team Fortress Wiki talk:Weapon Demonstration|Weapon Demonstration project talk page]]. Used to easily identify which demonstrations need reviewing. | ||
== Usage == | == Usage == | ||
<pre>{{ReservationUpdate | <pre>{{ReservationUpdate | ||
+ | | begin/end | ||
| status = | | status = | ||
| reservation = | | reservation = | ||
Line 21: | Line 24: | ||
| content = | | content = | ||
}}</pre> | }}</pre> | ||
+ | |||
+ | ; 1 | ||
+ | : The first parameter, used to indicate if this is the start or the end of a talk page section. Takes "begin" or "end". | ||
; status | ; status | ||
Line 36: | Line 42: | ||
; video | ; video | ||
: Link to the video for reviewers to view. Remove this if the previous demo was denied. | : Link to the video for reviewers to view. Remove this if the previous demo was denied. | ||
− | |||
− | |||
− | |||
</noinclude> | </noinclude> |
Latest revision as of 20:23, 29 April 2024
This demonstration has been reserved: No one
Documentation for GrampaSwood/Template:ReservationUpdate
Template used on the Weapon Demonstration project talk page. Used to easily identify which demonstrations need reviewing.
Usage
{{ReservationUpdate | begin/end | status = | reservation = | changes = | video = | content = }}
- 1
- The first parameter, used to indicate if this is the start or the end of a talk page section. Takes "begin" or "end".
- status
- 3 possible parameters:
nodemo
(default), use this if no demonstration has been made yet, or if the last demo was denied (remove the video parameter too).review needed
, use if a video has been uploaded that needs a review from one of the approved reviewers.approved
, used by reviewers when they approve the video.
- reservation
- Uses
{{Reservation}}
template, user claiming this demonstration should put their signature here.
- changes
- Optional, used on demonstrations that are an update to the previous one. Should list the changes compared to the old video. E.g. "Does not show off x stat".
- video
- Link to the video for reviewers to view. Remove this if the previous demo was denied.