Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Iframe: Difference between revisions

Template page
Created page with "<includeonly> <div style="float:right; text-align:center; width:320px; margin-left: 15px; margin-bottom: 10px;"> {{#tag:iframe| | src = {{{link}}} | width = 320 | height = 200 | style = border:none; }} <div style="font-size: 0.9em; line-height: 1.2em; margin-top: 5px;"> {{#if:{{{caption|}}} | {{{caption}}} | 3D Model of {{PAGENAME}} }} </div> </div> </includeonly><noinclude> == Usage == This is the template for iframes. To use it, copy and paste the following code i..."
 
Check if link starts with 3d.gbx.tools
 
Line 8: Line 8:
}}
}}
<div style="font-size: 0.9em; line-height: 1.2em; margin-top: 5px;">
<div style="font-size: 0.9em; line-height: 1.2em; margin-top: 5px;">
{{#if:{{{caption|}}}
{{#if: {{{caption|}}}  
   | {{{caption}}}
   | {{{caption}}}  
   | 3D Model of {{PAGENAME}}
   | {{#ifeq: {{padleft:|20|{{{link}}}}} | https://3d.gbx.tools
      | 3D Model of {{PAGENAME}}
      | Placeholder
    }}
}}
}}
</div>
</div>

Latest revision as of 15:14, 25 January 2026

Usage[edit]

This is the template for iframes. To use it, copy and paste the following code into an article:

{{Iframe
| link     = Iframe link
| caption  = Iframe caption
}}
Contents