Template: Announce: Difference between revisions
From The Lost Media Wiki
No edit summary |
m (Text replacement - "img-responsive" to "img-fluid") |
||
(50 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div class=" | <includeonly><div class="announce thumbnail item">{{#set: | ||
{{ | |Date found={{{Date|}}} | ||
|Found by user={{{Found by user|}}} | |||
{{{ | |Found by URL={{{Found by URL|}}} | ||
}} | |||
{{{ | |||
{{{Found by | |||
<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 28: | 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><!-- | |||
-->{{#ifeq: {{{Namespace|}}} | |||
|Report | |Report | ||
|{{#ifeq: {{NAMESPACE}} | |{{#ifeq: {{NAMESPACE}} | ||
|Report | |Report | ||
|{{#ifingroup: sysop|<span class=" | |{{#ifingroup: sysop | ||
|<div class="text-center">{{#formredlink: form=Announce | |||
|link text=<span class="btn btn-success center-block">Announce</span> | |||
|existing page link text=Announced | |||
|target=Announce:{{PAGENAMEE}} | |||
|Announce[Namespace]=Announce | |||
|Announce[Subject]={{{Subject|}}} | |||
|Announce[Article]={{{Article|}}} | |||
|Announce[Title]={{{Title|}}} | |||
|Announce[Status]={{{Status|}}} | |||
|Announce[Found by user]={{{Found by user|}}} | |||
|Announce[Found by URL]= | |||
|Announce[Date found]={{{Date found|}}} | |||
|Announce[Image]={{{Image|}}} | |||
|Announce[Submitted by]={{{Submitted by|}}} | |||
|Announce[Report]={{PAGENAME}} | |||
|wpSave=1 | |||
|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> | </div> | ||
</includeonly> | |#default= | ||
}}</includeonly> |