General Disclaimer:   (HV) (DC) injury or death hazard,   use at your own risk,   may void warranty.

Difference between revisions of "Template:IFrame"

From My wiki
Jump to navigation Jump to search
(Created page with "{{ #foreach: $n$ | <html><nobr></html> {{ #ifeq: {{{label| }}} | | | {{ #ifeq: {{{links| }}} | | {{{$n$}}}<br> | <center>{{{$n$}}}</center> }}}}<html><IFRAME SRC=</html>{{{$n$...")
 
(switch to https)
 
Line 3: Line 3:
 
<noinclude>[[Category:Page Styles]]
 
<noinclude>[[Category:Page Styles]]
 
You can use this template to generate IFrame windows for a list of sites with a line like this:
 
You can use this template to generate IFrame windows for a list of sites with a line like this:
  <nowiki>{{IFrame|http://google.com |http://seattle.craigslist.org |http://gmail.com | width=268 | height=112 | label=1 | links=1 | scroll=no }}</nowiki>
+
  <nowiki>{{IFrame|https://google.com |https://seattle.craigslist.org |https://gmail.com | width=268 | height=112 | label=1 | links=1 | scroll=no }}</nowiki>
 
''be sure there are no spaces between the bar and url list.''
 
''be sure there are no spaces between the bar and url list.''
  
 
{| border=1 style="background:#EEEEEE;"
 
{| border=1 style="background:#EEEEEE;"
 
| valign=top align=center | Example without labels<hr>
 
| valign=top align=center | Example without labels<hr>
{{IFrame|http://google.com |http://seattle.craigslist.org |http://gmail.com | width=268 | height=112 }}
+
{{IFrame|https://google.com |https://seattle.craigslist.org |https://gmail.com | width=268 | height=112 }}
 
| valign=top align=center | Example with labels<hr>
 
| valign=top align=center | Example with labels<hr>
{{IFrame|http://google.com |http://seattle.craigslist.org |http://gmail.com | width=268 | height=100 | label=1 }}
+
{{IFrame|https://google.com |https://seattle.craigslist.org |https://gmail.com | width=268 | height=100 | label=1 }}
 
| valign=top align=center | Example with labels and links<hr>
 
| valign=top align=center | Example with labels and links<hr>
{{IFrame|http://google.com |http://seattle.craigslist.org |http://gmail.com | width=268 | height=100 | label=1 | links=1 }}
+
{{IFrame|https://google.com |https://seattle.craigslist.org |https://gmail.com | width=268 | height=100 | label=1 | links=1 }}
 
| valign=top align=center | Example with labels and links and no scroll<hr>
 
| valign=top align=center | Example with labels and links and no scroll<hr>
{{IFrame|http://google.com |http://seattle.craigslist.org |http://gmail.com | width=268 | height=100 | label=1 | links=1 | scroll=no}}
+
{{IFrame|https://google.com |https://seattle.craigslist.org |https://gmail.com | width=268 | height=100 | label=1 | links=1 | scroll=no}}
 
|}
 
|}
 
[[Category:templates|{{PAGENAME}}]][[Category:Page Styles]]
 
[[Category:templates|{{PAGENAME}}]][[Category:Page Styles]]
 
</noinclude>
 
</noinclude>

Latest revision as of 00:57, 20 April 2020

You can use this template to generate IFrame windows for a list of sites with a line like this:

{{IFrame|https://google.com |https://seattle.craigslist.org |https://gmail.com | width=268 | height=112 | label=1 | links=1 | scroll=no }}

be sure there are no spaces between the bar and url list.

Example without labels




Example with labels

https://google.com

https://seattle.craigslist.org

https://gmail.com

Example with labels and links
https://google.com

https://seattle.craigslist.org

https://gmail.com

Example with labels and links and no scroll
https://google.com

https://seattle.craigslist.org

https://gmail.com