Template:CopyEmbeddedStoriesForm: Difference between revisions
From Seven Sages of Rome
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<html> | <html> | ||
<form method="post" action=""> | <form method="post" action="javascript:void(0);"> | ||
<label for="targetPageInput">Select target page:</label> | <label for="targetPageInput">Select target page:</label> | ||
<input type="text" id="targetPageInput" name="targetPage" placeholder="Start typing to search..." class="oo-ui-inputWidget-input oo-ui-textInputWidget"> | |||
<button type="button" id="copyButton">Copy Embedded Stories</button> | |||
</form> | </form> | ||
</html> | |||
<!-- Hidden div to hold EmbeddedStory templates --> | |||
<div id="embeddedStoryTemplates" style="display: none;"> | |||
<div id=" | {{#invoke:CopyEmbeddedStories|fetchEmbeddedStories|sourcePage={{FULLPAGENAME}}}} | ||
{{# | |||
</div> | </div> | ||
</includeonly> | </includeonly> |