Difference between revisions of "Template:S2frame"

From SacredWiki
Jump to navigation Jump to search
(Added additional options to control margin and width of the S2frame template)
m
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>This template is for the Sacred 2 namespace of sacredwiki.  Intended use is for framing item images such as set item and unique item stat images.  May also be used for Quest images in a Quest guide.  The below code can be copied and pasted to where you would like the image to be framed.  The first part, "S2frame", must always be as it is seen in the code.  The second part is the url of your image.   
 
<noinclude>This template is for the Sacred 2 namespace of sacredwiki.  Intended use is for framing item images such as set item and unique item stat images.  May also be used for Quest images in a Quest guide.  The below code can be copied and pasted to where you would like the image to be framed.  The first part, "S2frame", must always be as it is seen in the code.  The second part is the url of your image.   
<pre>{{S2frame|http://www.sacredwiki.org/images/Sacred_2/uniques/carapacevestment.gif}}</pre>
+
<pre>{{S2frame|https://www.sacredwiki.org/images/Sacred_2/uniques/carapacevestment.gif}}</pre>
{{S2frame|http://www.sacredwiki.org/images/Sacred_2/uniques/carapacevestment.gif}}</noinclude><includeonly>
+
{{S2frame|https://www.sacredwiki.org/images/Sacred_2/uniques/carapacevestment.gif}}</noinclude><includeonly>
 
{|cellspacing="0px" cellpadding="0px" style="float:{{{2|right}}}; margin: {{{4|10px 0px 10px 10px}}};width:{{{5|auto}}};height:auto;"
 
{|cellspacing="0px" cellpadding="0px" style="float:{{{2|right}}}; margin: {{{4|10px 0px 10px 10px}}};width:{{{5|auto}}};height:auto;"
 
|-
 
|-
Line 7: Line 7:
 
<div class="topbottom"> </div><div style="position:relative;"><div class="topleft"> </div><div class="topright"> </div></div>
 
<div class="topbottom"> </div><div style="position:relative;"><div class="topleft"> </div><div class="topright"> </div></div>
 
|-
 
|-
|class="left" width="8px"| -.
+
|class="left" width="8px"|
 
|style="background:#1F353F;"|<div class="plainlinks">{{{1}}}</div>
 
|style="background:#1F353F;"|<div class="plainlinks">{{{1}}}</div>
|class="right" width="8px"| -.
+
|class="right" width="8px"|
 
|-
 
|-
 
|colspan=3|<div class="topbottom"> </div><div style="position:relative;"><div class="botleft"> </div><div class="botright"> </div></div>
 
|colspan=3|<div class="topbottom"> </div><div style="position:relative;"><div class="botleft"> </div><div class="botright"> </div></div>
 
|}</includeonly>
 
|}</includeonly>

Latest revision as of 16:25, 28 September 2024

This template is for the Sacred 2 namespace of sacredwiki. Intended use is for framing item images such as set item and unique item stat images. May also be used for Quest images in a Quest guide. The below code can be copied and pasted to where you would like the image to be framed. The first part, "S2frame", must always be as it is seen in the code. The second part is the url of your image.

{{S2frame|https://www.sacredwiki.org/images/Sacred_2/uniques/carapacevestment.gif}}