Module:T-Person: Difference between revisions

// via Wikitext Extension for VSCode
// via Wikitext Extension for VSCode
Line 94: Line 94:
end
end


-- SPECIAL SEMANTIC MAPPINGS GO HERE
-- PROCESSORS
-- Languages are handled in the processors section below
 
-- ================================================================================
 
-- ==================== Preprocessors ====================
-- Basic preprocessors
Blueprint.addPreprocessor(template, 'setPageIdField')  -- Blueprint default
Blueprint.addPreprocessor(template, 'deriveRegionFromCountry')
 
-- ==================== Custom Configuration ====================
-- Initialize processor functions for fields
template.config.processors = {
template.config.processors = {
     -- SOI field processor
     -- SOI field processor
Line 131: Line 120:
     end
     end
}
}
-- ================================================================================
-- ==================== Preprocessors ====================
-- Basic preprocessors
Blueprint.addPreprocessor(template, 'setPageIdField')  -- Blueprint default
Blueprint.addPreprocessor(template, 'deriveRegionFromCountry')


-- ==================== Main Render Function ====================
-- ==================== Main Render Function ====================