Template: Announce: Difference between revisions

From The Lost Media Wiki
Jump to: navigation, search
No edit summary
m (Text replacement - "img-responsive" to "img-fluid")
 
(57 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div class="hide" hidden>
<includeonly><div class="announce thumbnail item">{{#set:
{{{Namespace|}}}
  |Date found={{{Date|}}}
  |Found by user={{{Found by user|}}}
  |Found by URL={{{Found by URL|}}}
}}
<div class="panel-heading text-center"><!--


{{{Subject|}}}
--><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:@@@|@@@]]
    |@@@
  }}
  |,&#32;
}}
</div>
<div class=""><!--


{{{Article|}}}
-->[[{{#if: {{{Image|}}}
 
{{{Title|}}}
 
{{{Status|}}}
 
{{{Found by user|}}}
 
{{{Date found|}}}
</div>
<b>{{{Subject|}}}</b> was {{lc:{{{Status|}}}}} on {{#time:F j, Y|{{{Date found|}}}}} by [[User:{{{Found by user|}}}|{{{Found by user|}}}]]
[[{{#if: {{{Image|}}}
     |Image:{{{Image|}}}
     |Image:{{{Image|}}}
     |{{#show: {{{Title|}}}|?Infobox image |link=none |default=Image:Lmwfound.png}}
     |{{#show: {{{Title|}}}|?Infobox image |link=none |default=Image:Lmwfound.png}}
Line 22: Line 28:
     }}{{#if: {{{Title|}}}
     }}{{#if: {{{Title|}}}
         |{{#if: {{{Subject|}}}|&#32;-&#32;}}{{{Title|}}}
         |{{#if: {{{Subject|}}}|&#32;-&#32;}}{{{Title|}}}
       }}|class=img-responsive|link={{{Found by URL|{{{Title|}}} }}}]]
       }}|class=img-fluid center-block|link={{#switch: {{NAMESPACE}}
</includeonly>
            |
            |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 class="announce-footer text-center text-small">submitted by [[User:{{{Submitted by|}}}|{{{Submitted by|}}}]]</div>
</div><!--
 
-->{{#ifeq: {{{Namespace|}}}
  |Report
  |{{#ifeq: {{NAMESPACE}}
    |Report
    |{{#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>
  |#default=
}}</includeonly>

Latest revision as of 02:55, 26 March 2023