Content deleted Content added
prevent global variable disallowedUnicodeChars, triggers warnings at Template:Ankylosaurian-stub - assuming it was by accident - please revert if this breaks anything |
Escape `{{` in output to avoid a Parsoid bug. See Wikipedia:AutoWikiBrowser/Tasks#c-Anomie-20250302162200-Anomie-20250302155000 for details. |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 11:
Both templates had significant contributions from numerous others listed in the revision history tab of their respective pages.
--]]
local WRAPPER_TEMPLATE, args = 'Template:
-- TODO: update this instance of Asbox to Article stub box eventually
local templatestyles = '
local p, Buffer, stubCats = {
--Prevents dupli-cats... get it? Maybe not?
Line 180 ⟶ 181:
require('Module:Documentation').main{
content = Buffer(page.text ~= 'Stub' and--This comparison performed in {{Asbox/stubtree}} before it invokes Module:Asbox stubtree
-- TODO: update this instance of Asbox to Article stub box eventually
require('Module:Asbox stubtree').subtree{args = {pagename = page.text}}
)
:_in'\n== About this template ==\nThis template is used to identify a':_(args.subject):_'stub':_(args.qualifier):_out' '--space
:_'. It uses {{[[Template:
:_(mw.html.create'code'
:wikitext( mw.text.nowiki( '{{' ), page.text == 'Stub' and 'stub' or page.text, '}}')
)
:_' produces the message shown at the beginning, and adds the article to the following categor'
Line 197 ⟶ 199:
:_(frame:expandTemplate{title = tStubDoc.text})
:_'\n\n'(),
['link box'] = Buffer'This documentation is automatically generated by [[Module:
:_in'The general information is transcluded from [[Template:Stub documentation]]. '
:_(mw.html.create'span'
|