模組:維基餐廳/data

本页使用了标题或全文手工转换
维基百科,自由的百科全书
文档图示 模块文档[查看] [编辑] [历史] [清除缓存]


編輯說明[编辑]

加入新食物[编辑]

在閣下想加入的位置加入(不知道如何插入請去WP:VPH

    {
    	type = 'food',
        name = '名稱'
    },

名稱會被視作模板名稱。

若還要補充資訊,可再加入other參數

加入其他文字(包含新章節)[编辑]

本模組和Module:CGroup一樣皆是使用{type = 'text',text = [=[ 文字 ]=]},作為加入文字的方法。

但和Module:CGroup不同的是,章節請用<h2></h2><h3></h3>

還有目前無法直接判定表格的起始與結束位置,因此需要人工標記位置,以<table>標示起始位置,然後以</table>標示結束位置,即:

    {type = 'text',text = [=[
<h2> 章節標題 </h2> 
<table>
    ]=]},
    {
    	type = 'food',
        name = '食物A'
    },
    {
    	type = 'food',
        name = '食物B'
    },
    {type = 'text',text = [=[
</table>
    ]=]},

請不要沒標記或改成其他標記,否則可能造成亂碼。

--[=[
    {
    	type = 'food',
        name = '名稱',
        other = '附加說明'
    },
    {
    	type = 'text',
        text = '文字'
    },
]=]--
return {
	{type = 'text',text = [=[
<h2>中文圈特色飲食</h2>

<h3>特别</h3>

<table>
]=]
    },
    {
    	type = 'food',
    	name = '鐵觀音'
    },
    {
    	type = 'food',
    	name = '辣条'
    },
    {
    	type = 'food',
    	name = '满汉全席'
    },
    {
    	type = 'food',
    	name = '油条'
    },
    {
    	type = 'food',
    	name = '冰糖葫蘆'
    },
    {
    	type = 'food',
    	name = '窩頭'
    },
    {
    	type = 'food',
    	name = '大闸蟹'
    },
    {
    	type = 'food',
    	name = '榨菜'
    },
    {
    	type = 'food',
    	name = '茶叶蛋'
    },
    {type = 'text',text = [=[
</table>

<h3>华北([[鲁菜]]、[[京菜]]、[[津菜]]、[[冀菜]]、[[晋菜]])</h3>

<table>
]=]
    },
    {
    	type = 'food',
    	name = '北京烤鸭'
    },
    {
    	type = 'food',
    	name = '炸酱面'
    },
    {
    	type = 'food',
    	name = '煎饼果子'
    },
    {
    	type = 'food',
    	name = '炒栗子'
    },
    {
    	type = 'food',
    	name = '驴肉火烧'
    },
    {
    	type = 'food',
    	name = '四喜丸子'
    },
    {
    	type = 'food',
    	name = '德州扒鸡'
    },
    {
    	type = 'food',
    	name = '韭菜盒子'
    },
    {type = 'text',text = [=[
</table>

<h2>節慶食物</h2>
<h3>东北([[东北菜]])</h3>

<table>
]=]
    },
    {
    	type = 'food',
    	name = '酸菜'
    },
    {
    	type = 'food',
    	name = '红肠'
    },
    {type = 'text',text = [=[
</table>

<h3>江南([[苏菜]]、[[浙菜]]、[[徽菜]]、[[沪菜]])</h3>

<table>
]=]
    },
    {
    	type = 'food',
    	name = '小籠包'
    },
    {
    	type = 'food',
    	name = '揚州炒飯'
    },
    {
    	type = 'food',
    	name = '东坡肉'
    },
    {
    	type = 'food',
    	name = '龙井虾仁'
    },
    {
    	type = 'food',
    	name = '红烧狮子头'
    },
    {
    	type = 'food',
    	name = '叫化鸡'
    },
    {type = 'text',text = [=[
</table>

<h3>闽粤滇桂([[闽菜]]、[[粤菜]]、[[云南菜]]、[[桂菜]]</h3>

<table>
]=]
    },
    {
    	type = 'food',
    	name = '腊肠'
    },
    {
    	type = 'food',
    	name = '拉腸'
    },
    {
    	type = 'food',
    	name = '沙河粉'
    },
    {
    	type = 'food',
    	name = '冬瓜盅'
    },
    {
    	type = 'food',
    	name = '及第粥'
    },
    {
    	type = 'food',
    	name = '白切雞'
    },
    {
    	type = 'food',
    	name = '蝦餃'
    },
    {
    	type = 'food',
    	name = '燒賣'
    },
    {
    	type = 'food',
    	name = '叉燒包'
    },
    {
    	type = 'food',
    	name = '砵仔糕'
    },
    {
    	type = 'food',
    	name = '老婆餅'
    },
    {
    	type = 'food',
    	name = '馬拉糕'
    },
    {
    	type = 'food',
    	name = '糯米糍'
    },
    {
    	type = 'food',
    	name = '釀豆腐'
    },
    {
    	type = 'food',
    	name = '梅菜扣肉'
    },
    {
    	type = 'food',
    	name = '桂林米粉'
    },
    {
    	type = 'food',
    	name = '螺蛳粉'
    },
    {
    	type = 'food',
    	name = '过桥米线'
    },
    {type = 'text',text = [=[
</table>

<h3>川渝湘([[川菜]],[[湘菜]])</h3>

<table>
]=]
    },
    {
    	type = 'food',
    	name = '麻婆豆腐'
    },
    {
    	type = 'food',
    	name = '麻辣火锅'
    },
    {
    	type = 'food',
    	name = '臭豆腐'
    },
    {
    	type = 'section',
    	name = '西北',
    	level = '3' 
    },
    {
    	type = 'food',
    	name = '兰州牛肉面'
    },
    {
    	type = 'food',
    	name = '羊肉串'
    },
    {type = 'text',text = [=[
</table>

<h3>香港</h3>

<table>
]=]
    },
    {
    	type = 'food',
    	name = '咖哩魚蛋'
    },
    {
    	type = 'food',
    	name = '鐵板餐'
    },
    {
    	type = 'food',
    	name = '西多士'
    },
    {
    	type = 'food',
    	name = '絲襪奶茶'
    },
    {
    	type = 'food',
    	name = '雞蛋仔'
    },
    {
    	type = 'food',
    	name = '菠蘿包'
    },
    {
    	type = 'food',
    	name = '燒賣'
    },
    {
    	type = 'food',
    	name = '叉燒包'
    },
    {
    	type = 'food',
    	name = '砵仔糕'
    },
    {
    	type = 'food',
    	name = '老婆餅'
    },
    {
    	type = 'food',
    	name = '碗仔翅'
    },
    {
    	type = 'food',
    	name = '麥芽糖夾餅'
    },
    {
    	type = 'food',
    	name = '馬拉糕'
    },
    {
    	type = 'food',
    	name = '糯米糍'
    },
    {type = 'text',text = [=[
</table>

<h3>澳門</h3>

<table>
]=]
    },
    {
    	type = 'food',
    	name = '非洲雞'
    },
    {
    	type = 'food',
    	name = '豬扒包'
    },
    {
    	type = 'food',
    	name = '葡撻'
    },
    {
    	type = 'food',
    	name = '木糠布甸'
    },
    {
    	type = 'food',
    	name = '貝碧嘉'
    },
    {type = 'text',text = [=[
</table>

<h3>馬來西亞/新加坡</h3>

<table>
]=]
    },
    {
    	type = 'food',
    	name = '肉骨茶',
    	other = '不要送给新马穆斯林维基人,以免冒犯对方。'
    },
    {
    	type = 'food',
    	name = '炒粿条'
    },
    {
    	type = 'food',
    	name = '椰浆饭'
    },
    {
    	type = 'food',
    	name = '沙嗲'
    },
    {
    	type = 'food',
    	name = '印度煎饼'
    },
    {
    	type = 'food',
    	name = '亚参叻沙'
    },
    {
    	type = 'food',
    	name = '马来炒饭'
    },
    {
    	type = 'food',
    	name = '卤面'
    },
    {
    	type = 'food',
    	name = '板面'
    },
    {
    	type = 'food',
    	name = '咖喱面'
    },
    {
    	type = 'food',
    	name = '云吞面'
    },
    {
    	type = 'food',
    	name = '曼煎粿'
    },
    {
    	type = 'food',
    	name = '马来咖喱角'
    },
    {
    	type = 'food',
    	name = '煎蕊'
    },
    {
    	type = 'food',
    	name = 'ABC冰',
    	other = 'ABC指的是Ais batu campur(混合的冰块)'
    },
    {
    	type = 'food',
    	name = '白咖啡'
    },
    {
    	type = 'food',
    	name = '咖啡乌'
    },
    {
    	type = 'food',
    	name = '海南雞飯'
    },
    {
    	type = 'food',
    	name = '叻沙'
    },
    {
    	type = 'food',
    	name = '咖央吐司'
    },
    {
    	type = 'food',
    	name = '拉茶'
    },
    {type = 'text',text = [=[
</table>

<h3>新加坡</h3>

<table>
]=]
    },
    {
    	type = 'food',
    	name = '星洲炒米'
    },
    {
    	type = 'food',
    	name = '新加坡司令',
    	other = '由於新加坡司令含有酒精成份,<br />{{kidding|{{red|因此切勿把新加坡司令送給18歲以下的維基人,<br />以免產生不良結果,导致此维基人在条目做出破坏。}}}}<br />而本餐廳恕不承擔任何法律責任。'
    },
    {type = 'text',text = [=[
</table>

<h3>臺灣</h3>

<table>
]=]
    },
    {
    	type = 'food',
    	name = '蚵仔煎' 
    },
    {
    	type = 'food',
    	name = '滷肉飯'
    },
    {
    	type = 'food',
    	name = '火雞肉飯'
    },
    {
    	type = 'food',
    	name = '冬瓜茶'
    },
    {
    	type = 'food',
    	name = '蔥油餅'
    },
    {
    	type = 'food',
    	name = '豬血糕'
    },
    {type = 'text',text = [=[
</table>

<h2>節慶食物</h2>

<h3>農曆新年/农历正月</h3>

<table>
]=]
    },
    {
    	type = 'food',
    	name = '饺子'
    },
    {
    	type = 'food',
    	name = '汤圆'
    },
    {
    	type = 'food',
    	name = '瓜子'
    },
    {
    	type = 'food',
    	name = '煎堆'
    },
    {
    	type = 'food',
    	name = '年糕'
    },
    {
    	type = 'food',
    	name = '全盒'
    },
    {
    	type = 'food',
    	name = '撈起魚生'
    },
    {type = 'text',text = [=[
</table>

<h3>端午節</h3>

<table>
]=]
    },
    {
    	type = 'food',
    	name = '粽子'
    },
    {
    	type = 'section',
    	name = '中秋節',
    	level = '3' 
    },
    {
    	type = 'food',
    	name = '月饼'
    },
    {
    	type = 'section',
    	name = '感恩節/聖誕節',
    	level = '3' 
    },
    {
    	type = 'food',
    	name = '烤火雞'
    },
    {
    	type = 'food',
    	name = '薑餅人'
    },
    {type = 'text',text = [=[
</table>

<h2>其他筷子圈食物</h2>

<h3>韓式食物</h3>

<table>
]=]
    },
    {
    	type = 'food',
    	name = '辣白菜'
    },
    {
    	type = 'food',
    	name = '朝鲜冷面'
    },
    {type = 'text',text = [=[
</table>

<h3>日式食物</h3>

<table>
]=]
    },
    {
    	type = 'food',
    	name = '壽司'
    },
    {
    	type = 'food',
    	name = '飯糰'
    },
    {
    	type = 'food',
    	name = '蛋包飯'
    },
    {
    	type = 'food',
    	name = '拉麵'
    },
    {type = 'text',text = [=[
</table>

<h3>越式食物</h3>

<table>
]=]
    },
    {
    	type = 'food',
    	name = '越南粉'
    },
    {
    	type = 'food',
    	name = '越南粉卷'
    },
    {type = 'text',text = [=[
</table>

<h3>泰式食物</h3>

<table>
]=]
    },
    {
    	type = 'food',
    	name = '冬蔭功' 
    },
    {
    	type = 'food',
    	name = '金邊粉'
    },
    {type = 'text',text = [=[
</table>

<h2>西式食物</h2>

<table>
]=]
    },
    {
    	type = 'food',
    	name = '披薩'
    },
    {
    	type = 'food',
    	name = '西式糕點'
    },
    {
    	type = 'food',
    	name = '意大利粉'
    },
    {
    	type = 'food',
    	name = '羅宋湯'
    },
    {
    	type = 'food',
    	name = '肉汁乾酪薯條'
    },
    {
    	type = 'food',
    	name = '千層麵'
    },
    {type = 'text',text = [=[
</table>

<h2>飯後水果</h2>

<table>
]=]
    },
    {type = 'table_start'},
    {
    	type = 'food',
    	name = '一盤草莓'
    },
    {type = 'text',text = [=[
</table>

<h2>餐具</h2>

<table>
]=]
    },
    {
    	type = 'food',
    	name = '脏盘子',
    	other = '就餐完毕之后,<br />需要归还<br />盛放食物的盘子。<br />可不填理由。<br />{{whiteblock|{{kidding|但會產生:服務員,趕快去洗刷盤子!}}}}'
    },
    {
    	type = 'food',
    	name = '空盘子',
    	other = '什么都不给。'
    },
    {
    	type = 'food',
    	name = '空杯子',
    	other = '请你喝空气。'
    },
    {type = 'text',text = [=[
</table>
]=]
    }
}