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="targetPage">Select target page:</label>
<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">
     <input type="submit" value="Copy Embedded Stories">
     <button type="button" id="copyButton">Copy Embedded Stories</button>
</form>
</form>
 
</html>
-- Lua invocation to render the fetched EmbeddedStory templates
<!-- Hidden div to hold EmbeddedStory templates -->
{{#invoke:CopyEmbeddedStories|fetchEmbeddedStories|sourcePage={{FULLPAGENAME}}}}
<div id="embeddedStoryTemplates" style="display: none;">
 
     {{#invoke:CopyEmbeddedStories|fetchEmbeddedStories|sourcePage={{FULLPAGENAME}}}}
<!-- Fetch page titles using Semantic MediaWiki query -->
<div id="pageList" style="display: none;">
     {{#ask: [[Category:Manuscript]] | ? | limit=500 | format=list | sep=, }}
</div>
</div>
</includeonly>
</includeonly>

Latest revision as of 20:18, 13 November 2024