Difference between revisions of "Template:Editnotices/Group/Template:Portal"

From blackwiki
Jump to navigation Jump to search
imported>MSGJ
(undo, ifexist does not work if the image is on commons)
imported>MSGJ
(use media instead)
Line 1: Line 1:
 
{{#ifeq:{{#titleparts:{{FULLPAGENAME}}|2|1}}|Template:Portal/Images
 
{{#ifeq:{{#titleparts:{{FULLPAGENAME}}|2|1}}|Template:Portal/Images
 
  |{{#ifeq:{{FULLPAGENAME}}|Template:Portal/Images|
 
  |{{#ifeq:{{FULLPAGENAME}}|Template:Portal/Images|
   |{{edit notice
+
   |{{#ifexist:Media:{{ {{PAGENAME}} }}
  |image=[[File:{{ {{PAGENAME}} }}|70px]]
+
  |{{edit notice
  |text=[[:File:{{ {{PAGENAME}} }}]] is the current image of this portal.
+
    |image=[[File:{{ {{PAGENAME}} }}|70px]]
 +
    |text=[[:File:{{ {{PAGENAME}} }}]] is the current image of this portal.
 +
  }}
 
   }}
 
   }}
 
  }}
 
  }}
 
}}
 
}}

Revision as of 12:29, 26 September 2011