View Source:
Help/TranscludePlugin
The **Transclude** [[Help:WikiPlugin|plugin]] can be used to embed include whole (external) web pages within a wiki page. Pages are transcluded using ##<iframe>## tags. == Arguments == {| class="bordered" |- ! Argument ! Description ! Default value |- | **src** | The URL of the page to transclude | //none// |- | **title** | The title of the page to transclude | //Transcluded page// |- | **height** | The (initial) height of the transclusion frame. If, possible, after the transcluded page is loaded, the frame is resized via Javascript so that it fits the entire transcluded page. (See below for more.) | 450 |- | **quiet** | If set, frame appears as normal content | false |} == Bugs / Caveats == * When possible, Javascript code is used to adjust the height of the //iframe// so that it fits the entire transcluded page. Unfortunately, this seems possible only when the transcluded page comes from the same server as the wiki page. (This restriction is due to security checks built in to the Javascript language.) * The recursion detection code does not currently work. Be careful to avoid recursive transclusions, or you'll be sorry (or at least amused.) == Example == {{{ <<Transclude src="https://sourceforge.net/p/phpwiki/code/HEAD/tree/trunk/pgsrc/ReleaseNotes?view=markup">> }}} will get you <<Transclude src="https://sourceforge.net/p/phpwiki/code/HEAD/tree/trunk/pgsrc/ReleaseNotes?view=markup">> <noinclude> ---- [[PhpWikiDocumentation]] [[CategoryWikiPlugin]] </noinclude>
BroadcastHistory
HomePage
How to use this Wiki
Adding Pages
List all Categories
Main Categories
CategoryWikiPlugin
CategoryActionPage
Search
Toolbox
Recent Changes
Recent New Pages
What links here
All pages
Recent Changes
RecentChangesCached
Tape Cartridge History
Favorite Categories
WikiPlugin
(140)
ActionPage
(77)
InterWiki
(18)
InterWiki
(18)
View Page
View Source
History
Diff
Sign In