Module:CharInserts/Template
Jump to navigation
Jump to search
Documentation for this module may be created at Module:CharInserts/Template/doc
-- <nowiki>
return {
{
pattern = '',
label = 'insert includeonly',
notpattern = '/doc$',
insert = [[<includeonly>+</includeonly><noinclude>{{documentation}}</noinclude>]],
},
{
pattern = '/CargoAttach$',
label = 'Insert Attach Prefill',
insert = [[<includeonly></includeonly><noinclude>{{documentation
|cargodec={{Attach|{{subst:BASEPAGENAME}}}}
\[\[Category:Fake Cargo Attach Templates\]\]+
}}</noinclude>
]]
},
{
pattern = '',
notpattern = '/CargoAttach',
label = 'Insert DRUID infobox',
insert = [[<includeonly>{{#invoke:Infobox|main
|kind=
|sep=,
|image={{#if:{{{image|}}}|[\[File:{{{image}}}{{!}}300px\]\]}}
|sections=
+
}}</includeonly><noinclude>{{documentation}}</noinclude>]]
}
}
-- </nowiki>