(sync) |
(sync) |
||
1行目: | 1行目: | ||
− | <includeonly> |
+ | <includeonly><div id="{{{id|}}}" class="fp-section {{{class|}}}" style="{{{style|}}}"> |
{{ #if: {{{header|}}} |
{{ #if: {{{header|}}} |
||
− | | <div class="mcwiki-header" style="margin: 3px; font-weight: bold; text-align: center; color: white; font-size: 120%; background-image: {{FileUrl|GrassBackground.png}}; |
+ | | <div class="mcwiki-header" style="margin: 3px; font-weight: bold; text-align: center; color: white; font-size: 120%; background-image: {{FileUrl|GrassBackground.png}};{{{headerstyle|}}}">{{ #if: {{{image|}}} |
| <div style="float: right; margin-left: 6px;">[[ファイル:{{{image}}}|48px{{ #if: {{{link|}}} | {{!}}link={{{link}}} }}]]</div> |
| <div style="float: right; margin-left: 6px;">[[ファイル:{{{image}}}|48px{{ #if: {{{link|}}} | {{!}}link={{{link}}} }}]]</div> |
||
}} {{{header}}}</div> |
}} {{{header}}}</div> |
||
}} |
}} |
||
− | <div {{ |
+ | <div id="{{{contentid|}}}" class="{{{contentclass|}}}" style="margin: 0.5em 0.8em;{{{contentstyle|}}}"> |
{{{content}}} |
{{{content}}} |
||
+ | </div> |
||
</div></includeonly><noinclude> |
</div></includeonly><noinclude> |
||
{{documentation|content= |
{{documentation|content= |
||
− | {{OldRev| |
+ | {{OldRev|1455160|Minecraft Wiki/style}} |
メインページのメインコンテンツボックスを作成するために使用します。{{ #ifeq: {{FULLPAGENAME}} | Minecraft Wiki/style | このテンプレートの修正は[[Minecraft Wiki/編集コピー/style|こちら]]で提案してください。 | ([{{fullurl:特別:ページの比較|page1={{urlencode:Minecraft Wiki/style}}&page2={{urlencode:Minecraft Wiki/編集コピー/style}}}} メインページのテンプレートとの比較]) }} |
メインページのメインコンテンツボックスを作成するために使用します。{{ #ifeq: {{FULLPAGENAME}} | Minecraft Wiki/style | このテンプレートの修正は[[Minecraft Wiki/編集コピー/style|こちら]]で提案してください。 | ([{{fullurl:特別:ページの比較|page1={{urlencode:Minecraft Wiki/style}}&page2={{urlencode:Minecraft Wiki/編集コピー/style}}}} メインページのテンプレートとの比較]) }} |
||
20行目: | 21行目: | ||
{{!}}- |
{{!}}- |
||
{{!}} {{p|class}} {{!!}} セルのクラスを指定 |
{{!}} {{p|class}} {{!!}} セルのクラスを指定 |
||
⚫ | |||
− | {{!}} {{p|span}} {{!!}} セルの列の長さを指定 |
||
− | {{!}}- |
||
⚫ | |||
{{!}}- |
{{!}}- |
||
{{!}} {{p|style}} {{!!}} セルにスタイルを追加 |
{{!}} {{p|style}} {{!!}} セルにスタイルを追加 |
||
36行目: | 33行目: | ||
{{!}}- |
{{!}}- |
||
{{!}} {{p|content}} {{!!}} セルの内容 |
{{!}} {{p|content}} {{!!}} セルの内容 |
||
⚫ | |||
⚫ | |||
{{!}}- |
{{!}}- |
||
{{!}} {{p|contentclass}} {{!!}} 内容に class を追加 |
{{!}} {{p|contentclass}} {{!!}} 内容に class を追加 |
2019年11月21日 (木) 16:37時点における版
このページは英語版 1455160 の内容です。
メインページのメインコンテンツボックスを作成するために使用します。このテンプレートの修正はこちらで提案してください。
パラメータ
パラメータ | 機能 |
---|---|
|id= |
セルの ID を指定 |
|class= |
セルのクラスを指定 |
|style= |
セルにスタイルを追加 |
|header= |
ヘッダーを追加 |
|headerstyle= |
ヘッダーにスタイルを追加 |
|image= |
ヘッダーに画像を追加 |
|link= |
画像にリンクを追加 |
|content= |
セルの内容 |
|contentid= |
内容に id を追加 |
|contentclass= |
内容に class を追加 |
|contentstyle= |
内容にスタイルを追加 |