• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
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

Navigation menu