Skip to content

Commit e291881

Browse files
committed
Write template/category name as part of title in table header
1 parent dbd9aa8 commit e291881

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ func (p *MWXMLCreator) Run() {
825825
// Create template pages
826826
for tplName, tplProperties := range tplPropertyIdx {
827827
tplText := `{|class="wikitable smwtable"
828-
!colspan="2"|{{PAGENAMEE}}
828+
!colspan="2"| ` + str.Replace(tplName, "Template:", "", -1) + `: {{PAGENAMEE}}
829829
`
830830
for property, _ := range tplProperties {
831831
argName := spacesToUnderscores(property)

0 commit comments

Comments
 (0)