「テンプレート:Hidden begin」の版間の差分
ナビゲーションに移動
検索に移動
en:Template:Hidden begin 2014年6月24日 (火) 08:54 よりコピー
template>Caviler ([表示]/[隠す] の表示幅を変更) |
template>Fryed-peach (en:Template:Hidden begin 2014年6月24日 (火) 08:54 よりコピー) |
||
1行目: | 1行目: | ||
<includeonly><!-- | <includeonly><!-- | ||
-->{{#ifeq:{{{toggle|}}}|left | -->{{#ifeq:{{{showhide|}}}{{{toggle|}}}|left | ||
| <!------------------------------------------------------------------------ | |||
showhide = left, so place [show/hide] link on lefthand side: | |||
------------------------------------------------------------------------- | |||
--><div class="NavFrame {{#if:{{{expanded|}}} | |collapsed}}" style="position:relative;width:100%;border:{{{border|none}}};{{{style|}}}"><!-- | |||
--><div class="NavHead" style="position:absolute;width:3.2em<!--(to accommodate "[show]")-->;background:transparent;"></div><!-- | |||
--><div style="font-size:100%;height:1.6em;background:transparent;padding-left:2.8em<!--(should place text just after [show/hide])-->; | |||
text-align:left;font-weight:bold;{{{titlestyle|}}}"> <!--deprecated:-->{{{header|}}}<!---->{{{title|}}}</div><!-- | |||
--><div class="NavContent" style="padding-left:0.3em;text-align:left;{{{bodystyle|{{{contentstyle|}}}}}}"><!-- | |||
-->| <!------------------------------------------------------------ | -->| <!------------------------------------------------------------------------ | ||
showhide /= left, so place [show/hide] link on righthand side: | |||
------------------------------------------------------------------------- | |||
--><div class="NavFrame {{#if:{{{expanded|}}} | |collapsed}}" style="border:{{{border|none}}};{{{style|}}}"><!-- | |||
--><div class="NavHead" style="background:{{{bg1|transparent}}};text-align:{{{ta1|left}}};{{{extra1|}}} {{{titlestyle|}}}"><!-- | |||
deprecated:-->{{{header|}}}<!---->{{{title|}}} </div><!-- | |||
--><div class="NavContent" style="background:{{{bg2|transparent}}};text-align:{{{ta2|left}}};{{{extra2|}}} {{{bodystyle|{{{contentstyle|}}}}}}"><!-- | |||
-->}}</includeonly><noinclude>{{documentation|Template:Hidden begin-end/doc}}</noinclude> | -->}}</includeonly><noinclude> | ||
{{documentation|Template:Hidden begin-end/doc}} | |||
</noinclude> |