Nicht angemeldeter Benutzer - Bearbeiten von Seiten ist nur als angemeldeter Benutzer möglich.
Modul:Shortcuts/config: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(simpleDivTop) |
K (30 Versionen importiert: Import der Hilfe zu TemplateData aus der deutschen Wikipedia [https://de.wikipedia.org/w/index.php?title=Hilfe:TemplateData/JSON&oldid=189058032]) |
||
(14 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
Zeile 4: | Zeile 4: | ||
]=] | ]=] | ||
return { | return { | ||
− | locally | + | locally = true, |
− | rooms | + | patternSuitable = "§äöüÄÖÜ߀", |
− | rules | + | rooms = { 4, 8, 10, 12, 14, 100 }, |
− | + | rules = { [2] = { { locally = true, styling = false } }, | |
− | + | [3] = { { locally = true, styling = false } }, | |
− | + | [4] = { { sub = "^Importwünsche", styling = "simpleDivTopClear" }, | |
− | + | { sub = "^Technik$", styling = false }, | |
− | + | { sub = "^Technik/", styling = false }, | |
− | + | { sub = "^Technik/Labs/Tools/", styling = "simpleDivTop" }, | |
− | + | { sub = "^Technik/Linkbox$", locally = false }, | |
− | + | { sub = "^Technik/Skin/Gadgets/", locally = false, | |
− | + | styling = "stickRight" } }, | |
− | + | [5] = { { sub = "^Technik$", styling = "simpleDivTop" }, | |
− | + | { sub = "^Technik/", styling = "simpleDivTop" } }, | |
− | + | [10] = { { locally = true, styling = "simpleDivTop" } }, | |
− | sayBadLink | + | [11] = { { locally = true, styling = "simpleDivTop" } }, |
− | sayDuplicated | + | [12] = { { styling = false } }, |
− | sayMissing | + | [13] = { { styling = "simpleDivTop" } }, |
− | sayNamespaceOff = "Namensraum nicht konfiguriert", | + | [14] = { { locally = true, styling = "simpleDivTop" } }, |
− | sayNoNamespace | + | [15] = { { locally = true, styling = "simpleDivTop" } } |
− | sayNoPage | + | -- 100 |
− | sayRegular | + | -- 101 |
− | sayTarget | + | }, |
− | sayUnknown | + | sayBadLink = "Ungültiger Seitenname im Wikilink", |
− | sayUnregistered = "keine Shortcuts registriert", | + | sayDuplicated = "wiederholt", |
− | scream | + | sayInvalidChar = "Shortcut mit untippbarem Zeichen", |
− | show | + | sayMissing = "fehlt", |
− | signal | + | sayNamespaceOff = "Namensraum nicht konfiguriert", |
− | signature | + | sayNoLocals = "'1=' nicht erlaubt", |
− | skip | + | sayNoNamespace = "Kein Namensraum für Zielseiten angegeben", |
− | stalk | + | sayNoPage = "Keine Zielseite angegeben", |
− | style | + | sayRegular = "keine Weiterleitung", |
− | simpleDiv | + | sayNoShortcuts = "Keine Shortcuts", |
− | simpleDivTop = "<div id='shortcut-ca' class='shortcut floatright noprint searchaux' style='font-size: x-small; -shortcut:top;' data-shortcut='###'>%s</div>", | + | sayTarget = "zielt nicht auf diese Seite", |
− | simpleSpan | + | sayUnknown = "[[Vorlage:Shortcut]]: keine Shortcuts registriert, 1= nicht angegeben", |
− | suppress | + | sayUnregistered = "keine Shortcuts registriert", |
− | talks | + | scream = "Wikipedia:Wartung/Shortcuts", |
+ | show = "[[Wikipedia:Shortcuts|Abkürzung]]: %s", | ||
+ | signal = "Kategorie 'Wikipedia:Abkürzungen' nicht gefunden", | ||
+ | signature = "%[%[Kategorie:Wikipedia:Abkürzungen[|%]]", | ||
+ | skip = "Vorlage:Shortcut", | ||
+ | stalk = "{{Shortcut[|}]", | ||
+ | style = "<div id='shortcut' class='shortcut noprint searchaux' data-shortcut='###'>%s</div>", | ||
+ | simpleDiv = "<div id='shortcut-ca' class='shortcut floatright noprint searchaux' style='font-size: x-small;' data-shortcut='###'>%s</div>", | ||
+ | simpleDivTop = "<div id='shortcut-ca' class='shortcut floatright noprint searchaux' style='font-size: x-small; -shortcut:top;' role='navigation' data-shortcut='###'>%s</div>", | ||
+ | simpleDivTopClear = "<div id='shortcut-ca' class='shortcut floatright noprint searchaux' style='font-size: x-small; -shortcut:top;' role='navigation' data-shortcut='###'>%s</div><div style='clear:right; height;0;'></div>", | ||
+ | simpleSpan = "<span id='shortcut-ca' class='shortcut noprint searchaux' style='font-size: x-small;' data-shortcut='###'>%s</span>", | ||
+ | stickRight = "<div id='shortcut-ca' class='shortcut' style='font-size: x-small; float: right; margin-bottom: 0.5em;' data-shortcut='###'>%s</div>", | ||
+ | suppress = "<span class='Wartung-Shortcuts' style='display:none'>%s</span>", | ||
+ | talks = { WP = "WD", H = "HD", P = "PD" } | ||
} | } |
Aktuelle Version vom 6. November 2019, 10:26 Uhr
Die Dokumentation für dieses Modul kann unter Modul:Shortcuts/config/Doku erstellt werden
--[=[
Shortcuts/config
mw.loadData() table, Anpassung der Shortcuts für das lokale Projekt
]=]
return {
locally = true,
patternSuitable = "§äöüÄÖÜ߀",
rooms = { 4, 8, 10, 12, 14, 100 },
rules = { [2] = { { locally = true, styling = false } },
[3] = { { locally = true, styling = false } },
[4] = { { sub = "^Importwünsche", styling = "simpleDivTopClear" },
{ sub = "^Technik$", styling = false },
{ sub = "^Technik/", styling = false },
{ sub = "^Technik/Labs/Tools/", styling = "simpleDivTop" },
{ sub = "^Technik/Linkbox$", locally = false },
{ sub = "^Technik/Skin/Gadgets/", locally = false,
styling = "stickRight" } },
[5] = { { sub = "^Technik$", styling = "simpleDivTop" },
{ sub = "^Technik/", styling = "simpleDivTop" } },
[10] = { { locally = true, styling = "simpleDivTop" } },
[11] = { { locally = true, styling = "simpleDivTop" } },
[12] = { { styling = false } },
[13] = { { styling = "simpleDivTop" } },
[14] = { { locally = true, styling = "simpleDivTop" } },
[15] = { { locally = true, styling = "simpleDivTop" } }
-- 100
-- 101
},
sayBadLink = "Ungültiger Seitenname im Wikilink",
sayDuplicated = "wiederholt",
sayInvalidChar = "Shortcut mit untippbarem Zeichen",
sayMissing = "fehlt",
sayNamespaceOff = "Namensraum nicht konfiguriert",
sayNoLocals = "'1=' nicht erlaubt",
sayNoNamespace = "Kein Namensraum für Zielseiten angegeben",
sayNoPage = "Keine Zielseite angegeben",
sayRegular = "keine Weiterleitung",
sayNoShortcuts = "Keine Shortcuts",
sayTarget = "zielt nicht auf diese Seite",
sayUnknown = "[[Vorlage:Shortcut]]: keine Shortcuts registriert, 1= nicht angegeben",
sayUnregistered = "keine Shortcuts registriert",
scream = "Wikipedia:Wartung/Shortcuts",
show = "[[Wikipedia:Shortcuts|Abkürzung]]: %s",
signal = "Kategorie 'Wikipedia:Abkürzungen' nicht gefunden",
signature = "%[%[Kategorie:Wikipedia:Abkürzungen[|%]]",
skip = "Vorlage:Shortcut",
stalk = "{{Shortcut[|}]",
style = "<div id='shortcut' class='shortcut noprint searchaux' data-shortcut='###'>%s</div>",
simpleDiv = "<div id='shortcut-ca' class='shortcut floatright noprint searchaux' style='font-size: x-small;' data-shortcut='###'>%s</div>",
simpleDivTop = "<div id='shortcut-ca' class='shortcut floatright noprint searchaux' style='font-size: x-small; -shortcut:top;' role='navigation' data-shortcut='###'>%s</div>",
simpleDivTopClear = "<div id='shortcut-ca' class='shortcut floatright noprint searchaux' style='font-size: x-small; -shortcut:top;' role='navigation' data-shortcut='###'>%s</div><div style='clear:right; height;0;'></div>",
simpleSpan = "<span id='shortcut-ca' class='shortcut noprint searchaux' style='font-size: x-small;' data-shortcut='###'>%s</span>",
stickRight = "<div id='shortcut-ca' class='shortcut' style='font-size: x-small; float: right; margin-bottom: 0.5em;' data-shortcut='###'>%s</div>",
suppress = "<span class='Wartung-Shortcuts' style='display:none'>%s</span>",
talks = { WP = "WD", H = "HD", P = "PD" }
}