Template:CopyEmbeddedStoriesForm: Difference between revisions
From Seven Sages of Rome
(Created page with "<includeonly> <form method="post" action=""> <label for="targetPage">Select target page:</label> <input type="text" id="targetPageInput" name="targetPage" placeholder="Start typing to search..."> <input type="submit" value="Copy Embedded Stories"> </form> -- Lua invocation to render the fetched EmbeddedStory templates {{#invoke:CopyEmbeddedStories|fetchEmbeddedStories|sourcePage={{FULLPAGENAME}}}} <!-- Fetch page titles using Semantic MediaWiki query --> <...") |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<form method="post" action=""> | <html> | ||
<label for=" | <form method="post" action="javascript:void(0);"> | ||
<input type="text" id="targetPageInput" name="targetPage" placeholder="Start typing to search..."> | <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;"> | |||
{{#invoke:CopyEmbeddedStories|fetchEmbeddedStories|sourcePage={{FULLPAGENAME}}}} | |||
<div id=" | |||
{{# | |||
</div> | </div> | ||
</includeonly> | </includeonly> |