Template: Announce: Difference between revisions
From The Lost Media Wiki
No edit summary |
No edit summary |
||
(24 intermediate revisions by 2 users not shown) | |||
Line 28: | Line 28: | ||
}}{{#if: {{{Title|}}} | }}{{#if: {{{Title|}}} | ||
|{{#if: {{{Subject|}}}| - }}{{{Title|}}} | |{{#if: {{{Subject|}}}| - }}{{{Title|}}} | ||
}}|class=img-responsive center-block|link={{# | }}|class=img-responsive 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="announce-footer text-center text-small">submitted by [[User:{{{Submitted by|}}}|{{{Submitted by|}}}]]</div> | <div class="announce-footer text-center text-small">submitted by [[User:{{{Submitted by|}}}|{{{Submitted by|}}}]]</div> | ||
Line 38: | 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 52: | Line 59: | ||
|Announce[Image]={{{Image|}}} | |Announce[Image]={{{Image|}}} | ||
|Announce[Submitted by]={{{Submitted by|}}} | |Announce[Submitted by]={{{Submitted by|}}} | ||
|Announce[Report]={{PAGENAME}} | |||
|wpSave=1 | |wpSave=1 | ||
|returnto={{FULLPAGENAME}} | |returnto={{FULLPAGENAME}} | ||
}} | }}</div> | ||
}} | }} | ||
}} | }} |