Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:ShipMetaKai
(view source)
Revision as of 18:54, 7 December 2017
349 bytes added
,
6 years ago
edit link
Line 10:
Line 10:
_template = [[{|class="${table_class}"
_template = [[{|class="${table_class}"
|-
|-
−
!class="infobox-kai-header-major" colspan=2|${name}
+
!class="infobox-kai-header-major" colspan=2|${name}
<div style="position:absolute;right:5px">${edit_link}</div>
|-
|-
!Class
!Class
Line 41:
Line 41:
|${implementation_date}
|${implementation_date}
|}]],
|}]],
+
_ship_data_documentation = "Template:ShipDataDocumentation/EditIntro",
+
_edit_link_text = "Edit",
_voice_actor_header = "[[Glossary#List of Vessels by Japanese Voice Actresses|Seiyuu]]",
_voice_actor_header = "[[Glossary#List of Vessels by Japanese Voice Actresses|Seiyuu]]",
_artist_header = "[[Glossary#List of Vessels by Artist|Artist]]",
_artist_header = "[[Glossary#List of Vessels by Artist|Artist]]",
Line 74:
Line 76:
},
},
_fields = {
_fields = {
+
"edit_link",
"name",
"name",
"class",
"class",
Line 87:
Line 90:
_args = args,
_args = args,
}:create_infobox()
}:create_infobox()
+
end
+
+
function ShipMetaKai:edit_link()
+
self._vars.edit_link = Formatting:format_edit_link(self._ship_data_module, self._edit_link_text, self._ship_data_documentation)
end
end
がか
cssedit, gkautomate
7,064
edits