Anonymous

Module:Navboxes: Difference between revisions

From Melvor Idle
getPetNavbox: Exclude content from search results
(getPetNavbox: Migrate from Module:Pets)
(getPetNavbox: Exclude content from search results)
Line 503: Line 503:
function p.getPetNavbox(frame)
function p.getPetNavbox(frame)
local resultPart = {}
local resultPart = {}
table.insert(resultPart, '{| class="wikitable" style="margin:auto; text-align:center; clear:both; width: 100%"')
table.insert(resultPart, '{| class="wikitable navigation-not-searchable" style="margin:auto; text-align:center; clear:both; width: 100%"')
table.insert(resultPart, '\r\n|-\r\n!colspan="2"|[[Pets]]')
table.insert(resultPart, '\r\n|-\r\n!colspan="2"|[[Pets]]')