Difference between revisions of "Template:EventBanner"

From PotterworldMC
Jump to: navigation, search
m (Remove image hyperlink)
m (Change banner caption to page name)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
<includeonly>{{{!}} style="float: right; width: 400px;"
+
<includeonly>{{{!}} class="infobox" style="float: right; width: 400px; margin: 10px;"
 
{{!}}- style="background: #414148; text-align: center;"  
 
{{!}}- style="background: #414148; text-align: center;"  
 
{{!}} style="width: 700px;" colspan="2" {{!}}
 
{{!}} style="width: 700px;" colspan="2" {{!}}
Line 6: Line 6:
 
{{{!}}
 
{{{!}}
 
{{!}}- style="background: #c2b280; text-align: center; color: #000000; height: 20px"  
 
{{!}}- style="background: #c2b280; text-align: center; color: #000000; height: 20px"  
−
{{!}} style="width: 700px; height: 20px; text-align: center;" colspan="2" {{!}} '''Event Banner'''
+
{{!}} style="width: 700px; height: 20px; text-align: center;" colspan="2" {{!}} '''{{PAGENAME}}'''
 
{{!}}}
 
{{!}}}
 
{{!}}}
 
{{!}}}
 
</includeonly><noinclude>=Example Use=
 
</includeonly><noinclude>=Example Use=
−
<pre>{{Template:EventBanner|image=Valentines24.png}}</pre>
+
<pre>{{EventBanner|image=Valentines24.png}}</pre>
  
 
==Result==
 
==Result==
−
{{Template:EventBanner|image=Valentines24.png}}
+
{{EventBanner|image=Valentines24.png}}
  
  

Latest revision as of 19:47, 27 March 2025

Example Use

{{EventBanner|image=Valentines24.png}}

Result

Valentines24.png

EventBanner