Template: Announce: Difference between revisions
From The Lost Media Wiki
No edit summary |
m (Text replacement - "img-responsive" to "img-fluid") |
||
(44 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div class="announce thumbnail item">{{#set: Date found={{{Date|}}} }} | <includeonly><div class="announce thumbnail item">{{#set: | ||
|Date found={{{Date|}}} | |||
|Found by user={{{Found by user|}}} | |||
|Found by URL={{{Found by URL|}}} | |||
}} | |||
<div class="panel-heading text-center"><!-- | <div class="panel-heading text-center"><!-- | ||
--><b>{{{Subject|}}}</b> was {{lc:{{{Status|}}}}} on {{#time: | --><b>{{#if: {{{Title|}}} | ||
|[[{{{Title|}}}|{{{Subject|}}}]] | |||
|{{{Subject|}}} | |||
}}</b> was {{lc:{{{Status|}}}}} on {{#time:j M Y|{{{Date found|}}}}} by {{#arraymap: {{{Found by user|}}} | |||
|, | |||
|@@@ | |||
|{{#if: {{#show: User:@@@|?Modification date}} | |||
|[[User:@@@|@@@]] | |||
|@@@ | |||
}} | |||
|,  | |||
}} | |||
</div> | </div> | ||
<div class=""><!-- | <div class=""><!-- | ||
Line 13: | Line 28: | ||
}}{{#if: {{{Title|}}} | }}{{#if: {{{Title|}}} | ||
|{{#if: {{{Subject|}}}| - }}{{{Title|}}} | |{{#if: {{{Subject|}}}| - }}{{{Title|}}} | ||
}}|class=img- | }}|class=img-fluid center-block|link={{#switch: {{NAMESPACE}} | ||
| | |||
|Announce={{#if: {{{Found by URL|}}} | |||
|{{{Found by URL|}}} | |||
|{{#show: Report:{{{Report|}}}|?Found by URL|link=none|default={{{Title|}}} }} | |||
}} | |||
|#default={{{Found by URL|{{{Title|}}} }}} | |||
}}]] | |||
</div> | </div> | ||
<div class=" | <div class="announce-footer text-center text-small">submitted by [[User:{{{Submitted by|}}}|{{{Submitted by|}}}]]</div> | ||
</div><!-- | </div><!-- | ||
Line 23: | Line 45: | ||
|Report | |Report | ||
|{{#ifingroup: sysop | |{{#ifingroup: sysop | ||
|{{#formredlink: form=Announce | |<div class="text-center">{{#formredlink: form=Announce | ||
|link text=<span class="btn btn-success center-block">Announce</span> | |link text=<span class="btn btn-success center-block">Announce</span> | ||
|existing page link text= | |existing page link text=Announced | ||
|target=Announce:{{ | |target=Announce:{{PAGENAMEE}} | ||
|Announce[Namespace]=Announce | |Announce[Namespace]=Announce | ||
|Announce[Subject]={{{Subject|}}} | |Announce[Subject]={{{Subject|}}} | ||
Line 33: | Line 55: | ||
|Announce[Status]={{{Status|}}} | |Announce[Status]={{{Status|}}} | ||
|Announce[Found by user]={{{Found by user|}}} | |Announce[Found by user]={{{Found by user|}}} | ||
|Announce[Found by URL]= | |Announce[Found by URL]= | ||
|Announce[Date found]={{{Date found|}}} | |Announce[Date found]={{{Date found|}}} | ||
|Announce[Image]={{{Image|}}} | |Announce[Image]={{{Image|}}} | ||
|Announce[Submitted by]={{{Submitted by|}}} | |||
|Announce[Report]={{PAGENAME}} | |||
|wpSave=1 | |wpSave=1 | ||
|returnto={{FULLPAGENAME}} | |returnto={{FULLPAGENAME}} | ||
}} | }}</div> | ||
}} | }} | ||
}} | }} | ||
}} | |||
{{#switch: {{NAMESPACE}} | |||
|Report | |||
|Announce = <div class="text-center"> | |||
{{#queryformlink: form=Reports | |||
|link text=<span class="mw-ui-button mw-ui-quiet">Other Reports</span> | |||
|Reports[Date]={{{Date|}}} | |||
|_run=1 | |||
}} | |||
</div> | |||
|#default= | |||
}}</includeonly> | }}</includeonly> |