(他の1人の利用者による、間の7版が非表示)
1行目: 1行目:
  +
<infobox theme="Food">
<div id="Food" class="infobox hidable" style="padding: 0px; {{#if:{{{width|}}}|width:{{{width}}};|}}">
 
  +
<image source="image"></image>
{| class="infoboxtable hidable-content" cellspacing="0" cellpadding="4" style="border-width: 0px"
 
  +
<title source="name"><default>{{PAGENAME}}</default></title>
|-
 
  +
<group>
| class="infoboximage" colspan="2" style="{{#if:{{{imageBG|}}}|background: #{{{imageBG}}}|{{#if:006400|background: #006400|background: #999999}}}}" | {{{image|}}}
 
  +
<header>歴史的な情報</header>
|-
 
  +
<data source="home"><label>母星</label></data>
! class="infoboxheading" colspan="2" style="{{#if:006400|background: #006400|background: #999999}}; {{{css|}}}" | {{{{{{2|name}}}}}}
 
  +
<data source="date"><label>誕生</label></data>
{{#if:{{{invented|}}}|
 
  +
<data source="race"><label>種類</label></data>
{{!}}-
 
  +
<data source="creator"><label>考案者</label></data>
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Invented in
 
  +
<data source="found"><label>消費地</label></data>
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
  +
</group>
{{{invented|}}}
 
  +
<group>
{{!}}-
 
  +
<header>特徴と素材</header>
|}} {{#if:{{{ingredients|}}}|
 
  +
<data source="type"><label>種類</label></data>
{{!}}-
 
  +
<data source="description"><label>特徴</label></data>
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Ingredients
 
  +
<data source="animals"><label>食材の動物</label></data>
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
  +
<data source="plants"><label>食材の植物</label></data>
{{{ingredients|}}}
 
  +
<data source="other"><label>その他材料</label></data>
{{!}}-
 
  +
<data source="edible"><label>食用可能な種族</label></data>
|}} {{#if:{{{made|}}}|
 
  +
<data source="inedible"><label>食用不可能な種族</label></data>
{{!}}-
 
  +
<data source="potable"><label>飲用可能な種族</label></data>
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Made by
 
  +
<data source="nutrition"><label>栄養</label></data>
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
  +
<data source="effects"><label>効果</label></data>
{{{made|}}}
 
  +
<data source="dishes"><label>料理</label></data>
{{!}}-
 
  +
</group>
|}} {{#if:{{{found|}}}|
 
  +
<group>
{{!}}-
 
  +
<header>歴史</header>
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Found on
 
  +
<data source="era"><label>時代</label></data>
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
  +
<data source="affiliation"><label>所属</label></data>
{{{found|}}}
 
  +
</group>
{{!}}-
 
  +
<navigation><small>[[Template:Food|[テンプレート]]]</small></navigation>
|}} {{#if:{{{eras|}}}|
 
  +
</infobox>{{PreloadCat}}<noinclude>[[category:Object infobox templates]]{{Clear}}
{{!}}-
 
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Eras
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{{eras|}}}
 
{{!}}-
 
|}}
 
|}
 
<div class="infoboxfooter plainlinks" style="text-align: center; {{#if:006400|background: #006400|background: #999999}}"><span class="hidable-button"></span>[[{{{srclink|Template:Food}}}|[Source]]]</div>
 
{{#if:006400|{{rb|#006400}}|{{rb|#999999}}}}</div><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --><noinclude>
 
   
 
===Usage===
 
===Usage===
To use this template, paste the following code into the top of the article, filling all relevant fields:
+
Copy and paste the following code to use the template.
<pre><nowiki>{{Food
+
<pre><nowiki>{{Eras|}}
  +
{{Food
 
|imageBG=
 
|imageBG=
 
|image=
 
|image=
 
|name=
 
|name=
  +
|home=
|invented=
 
  +
|date=
|ingredients=
 
|made=
+
|race=
  +
|creator=
 
|found=
 
|found=
|eras=
+
|type=
  +
|description=
}}
 
  +
|animals=
</nowiki></pre>
 
  +
|plants=
 
  +
|other=
===Source===
 
  +
|edible=
<nowiki>{{Subst:Slh|006400}} {{Subst:Sli|006400}} {{Subst:Slc|006400}} {{Subst:Sld|Invented in|invented}} {{Subst:Sld|Ingredients|ingredients}} {{Subst:Sld|Made by|made}} {{Subst:Sld|Found on|found}} {{Subst:Sld|Eras|era}} {{Subst:Slf|006400}}</nowiki>
 
  +
|inedible=
 
  +
|potable=
[[Category:Infobox templates]]
 
  +
|nutrition=
</noinclude>
 
  +
|effects=
  +
|dishes=
  +
|era=
  +
|affiliation=}}</nowiki></pre></noinclude>

2020年7月29日 (水) 13:54時点における最新版


Usage

Copy and paste the following code to use the template.

{{Eras|}}
{{Food
|imageBG=
|image=
|name=
|home=
|date=
|race=
|creator=
|found=
|type=
|description=
|animals=
|plants=
|other=
|edible=
|inedible=
|potable=
|nutrition=
|effects=
|dishes=
|era=
|affiliation=}}
特に記載のない限り、コミュニティのコンテンツはCC-BY-SAライセンスの下で利用可能です。