Difference between revisions of "User:Hoxyd"
From sureai
Line 7: | Line 7: | ||
If you need to pass in the url then use pipes the same way you would for other mediawiki templates: {{Special:IframePage|Youtube|path=sYgxTkg2j5Hxoeei/embed}} | If you need to pass in the url then use pipes the same way you would for other mediawiki templates: {{Special:IframePage|Youtube|path=sYgxTkg2j5Hxoeei/embed}} | ||
+ | |||
+ | |||
+ | #iframeframe { | ||
+ | position: relative; | ||
+ | left: 0; | ||
+ | width: 666px; | ||
+ | top: 0; | ||
+ | height: 380px; | ||
+ | } | ||
+ | iframe { | ||
+ | border: none; | ||
+ | display: block; | ||
+ | width: 666px; | ||
+ | min-height: 380px; | ||
+ | } | ||
+ | |||
+ | |||
</source> | </source> |
Revision as of 13:42, 27 June 2017
https://www.mediawiki.org/wiki/Extension:IframePage
It is possible to include the IframePage on another page. Use {{Special:IframePage}} when editing the page.
If you need to pass in the url then use pipes the same way you would for other mediawiki templates: {{Special:IframePage|Youtube|path=sYgxTkg2j5Hxoeei/embed}}
#iframeframe {
position: relative;
left: 0;
width: 666px;
top: 0;
height: 380px;
}
iframe {
border: none;
display: block;
width: 666px;
min-height: 380px;
}