「テンプレート:Twitterlink」の版間の差分

ナビゲーションに移動 検索に移動
編集の要約なし
(ページの作成:「<includeonly>{{#if: {{{ID|}}} | <span style="font-family:'Helvetica Neue',Arial,Helvetica,sans-serif; background-color:#EEF9FD; color:#186487; font-weight:bold; padding:0...」)
 
編集の要約なし
1行目: 1行目:
<includeonly>{{#if: {{{ID|}}} | <span style="font-family:'Helvetica Neue',Arial,Helvetica,sans-serif; background-color:#EEF9FD; color:#186487; font-weight:bold; padding:0.3em; font-size:15px;">{{{1|[[ファイル:Twitter-a.png]] }}}<span class="plainlinks">[http://twitter.com/{{#if:{{{NumberID|}}}|intent/user?user_id={{{NumberID}}}|{{{ID}}}}} <span style="color:#186487;">@{{{ID}}}</span>]</span></span>}}</includeonly><noinclude>
<includeonly>{{#if: {{{ID|}}} | <span style="font-family:'Helvetica Neue',Arial,Helvetica,sans-serif; background-color:#EEF9FD; color:#186487; font-weight:bold; padding:0.3em; font-size:15px;"><span class="plainlinks">[http://twitter.com/{{#if:{{{NumberID|}}}|intent/user?user_id={{{NumberID}}}|{{{ID}}}}} <span style="color:#186487;">@{{{ID}}}</span>]</span></span>}}</includeonly><noinclude>
<!-- ★ここまでテンプレの実際の内容。ここから解説。★ -->
<!-- ★ここまでテンプレの実際の内容。ここから解説。★ -->
Twitterアカウントへリンクを貼るテンプレです。
Twitterアカウントへリンクを貼るテンプレです。
23行目: 23行目:
== 動作概要 ==
== 動作概要 ==
*ID=にはTwitterのアカウント名を指定してください。
*ID=にはTwitterのアカウント名を指定してください。
*文字列を何も指定しないと、[[ファイル:Twitter-a.png]]の画像が表示されます。
*文字列を何も指定しないと、の画像が表示されます。
*何か文字列があると、文字列がそのまま表示されます。
*何か文字列があると、文字列がそのまま表示されます。
*何も表示したくない場合は半角スペースでも入れておいてください。
*何も表示したくない場合は半角スペースでも入れておいてください。
875

回編集

案内メニュー