Module:Hatnote: Difference between revisions
From Polcompball Wiki
Jump to navigationJump to search
Content added Content deleted
(Created page with "-- <nowiki> -------------------------------------------------------------------------------- -- Module:Hatnote -- -...") |
No edit summary |
||
Line 10: | Line 10: | ||
local libraryUtil = require('libraryUtil') |
local libraryUtil = require('libraryUtil') |
||
local checkType = libraryUtil.checkType |
local checkType = libraryUtil.checkType |
||
local mArguments = require(' |
local mArguments = require('Module:Arguments') |
||
local yesno = require(' |
local yesno = require('Module:Yesno') |
||
local mTableTools = require(' |
local mTableTools = require('Module:TableTools') |
||
local i18n = require(' |
local i18n = require('Module:I18n').loadMessages('Hatnote') |
||
local hatnote = {} |
local hatnote = {} |
||
Line 136: | Line 136: | ||
return hatnote.makeWikitextError( |
return hatnote.makeWikitextError( |
||
i18n:msg('error-link'), |
i18n:msg('error-link'), |
||
'w:c: |
'w:c:Module:Template:Format link#Errors',-- there is no actual docs for this. not even on wikipedia |
||
args.category |
args.category |
||
) |
) |
||
Line 191: | Line 191: | ||
return hatnote.makeWikitextError( |
return hatnote.makeWikitextError( |
||
i18n:msg('error-text'), |
i18n:msg('error-text'), |
||
'w:c: |
'w:c:Module:Template:Hatnote#Errors', |
||
args.category |
args.category |
||
) |
) |
||
Line 558: | Line 558: | ||
return hatnote.makeWikitextError( |
return hatnote.makeWikitextError( |
||
i18n:msg('error-pagename'), |
i18n:msg('error-pagename'), |
||
'w:c: |
'w:c:Module:Template:Details#Errors',-- another undocumented thing |
||
category |
category |
||
) |
) |
||
Line 609: | Line 609: | ||
return hatnote.makeWikitextError( |
return hatnote.makeWikitextError( |
||
i18n:msg('error-pagename', 2), |
i18n:msg('error-pagename', 2), |
||
'w:c: |
'w:c:Module:Template:Further#Errors',-- undocumented thing #3 |
||
args.category |
args.category |
||
) |
) |
||
Line 644: | Line 644: | ||
return hatnote.makeWikitextError( |
return hatnote.makeWikitextError( |
||
i18n:msg('error-pagename', 2), |
i18n:msg('error-pagename', 2), |
||
'w:c: |
'w:c:Module:Template:Main#Errors',-- undocumented thing #4 |
||
args.category |
args.category |
||
) |
) |
||
Line 703: | Line 703: | ||
return hatnote.makeWikitextError( |
return hatnote.makeWikitextError( |
||
i18n:msg('error-pagename', 2), |
i18n:msg('error-pagename', 2), |
||
'w:c: |
'w:c:Module:Template:See also#Errors',-- undocumented thing #5 |
||
args.category |
args.category |
||
) |
) |