Module:Category handler/data and Template:Tag: Difference between pages

From Frontierpedia, the Microsoft Agent encyclopedia
(Difference between pages)
m (1 revision imported)
 
en>Edokter
(Not an accident; these are superfluous and redundant.)
 
Line 1: Line 1:
-- This module assembles data to be passed to [[Module:Category handler]] using
<code class="nowrap" style="{{#switch:{{{style|}}} |plain|plainer=border:none;background:transparent; |{{{style|}}}}}"><!--
-- mw.loadData. This includes the configuration data and whether the current
Opening tag
-- page matches the title blacklist.
-->{{#switch:{{{2|pair}}}
 
  |c|close =
local data = require('Module:Category handler/config')
  |s|single
local mShared = require('Module:Category handler/shared')
  |o|open
local blacklist = require('Module:Category handler/blacklist')
  |p|pair = &lt;{{{1|tag}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}
local title = mw.title.getCurrentTitle()
}}<!--
 
Content between tags
data.currentTitleMatchesBlacklist = mShared.matchesBlacklist(
-->{{#switch:{{{2|pair}}}
title.prefixedText,
  |c|close = {{{content|}}}
blacklist
  |s|single = &#32;&#47;&gt;
)
  |o|open = &gt;{{{content|}}}
 
  |p|pair = {{#ifeq:{{{1|tag}}}|!--||&gt;}}{{{content|...}}}
data.currentTitleNamespaceParameters = mShared.getNamespaceParameters(
}}<!--
title,
Closing tag
mShared.getParamMappings()
-->{{#switch:{{{2|pair}}}
)
  |s|single
 
  |o|open =
return data
  |c|close
  |p|pair = {{#ifeq:{{{1|tag}}}|!--|--&gt;|&lt;&#47;{{{1|tag}}}&gt;}}
}}<!--
--></code><noinclude>
{{Documentation}}
</noinclude>

Revision as of 17:55, 14 December 2014

<tag>...</tag>