Hauptmenü öffnen
Start
Zufall
In der Nähe
Karten
Letzte Änderungen
Neueste Dateien
Anmelden
Einstellungen
Über FürthWiki
Impressum
Förderverein
Kontakt
FürthWiki
Suchen
Änderungen
← Zum vorherigen Versionsunterschied
Modul:Kirche
(bearbeiten)
Version vom 3. Februar 2024, 15:14 Uhr
39 Bytes entfernt
,
3 Februar
keine Bearbeitungszusammenfassung
Zeile 1:
Zeile 1:
local p = {} --p stands for package
local p = {} --p stands for package
+
local c = require( "Module:Common" )
function p.Faktenbox( frame )
function p.Faktenbox( frame )
Zeile 30:
Zeile 31:
tpl_gebaeude .. '</tab>'
tpl_gebaeude .. '</tab>'
−
tpl_attribute =
p
.
Attribute
(
frame,
args )
+
--
tpl_attribute =
c
.
AttributeTable
( args )
−
tab_attribute='<tab name=Attribute>' ..
+
--
tab_attribute='<tab name=Attribute>' ..
−
tpl_attribute .. '</tab>'
+
--
tpl_attribute .. '</tab>'
t ='<div class=factbox><tabs>' ..
t ='<div class=factbox><tabs>' ..
Zeile 39:
Zeile 40:
tab_daten ..
tab_daten ..
tab_gebaeude ..
tab_gebaeude ..
−
tab_attribute ..
+
--
tab_attribute ..
'</tabs></div>'
'</tabs></div>'
-- Use preprocess to render the factbox and all contens at once
-- Use preprocess to render the factbox and all contens at once
return frame:preprocess(t)
return frame:preprocess(t)
−
end
−
−
function p.Attribute( frame, args )
−
t='<p>Herbert macht Blau</p>'
−
return t
end
end
Red Rooster
Bürokraten
,
Oberflächenadministratoren
,
SMW-Administratoren
,
SMW-Kuratoren
,
SMW-Editoren
,
Oversighter
,
Administratoren
,
Widget-Bearbeiter
203.582
Bearbeitungen