模板:If IP

維基百科,自由的百科全書

您尚未登入。您已登入。

文件圖示 模板文件[檢視] [編輯] [歷史] [清除快取]

用法[編輯]

Example: {{If IP|text for IP users|text for logged in users}}

By default, <span>...</span> tags are used to wrap the specified content. |tag=div can be used if the content contains block-level elements.

模板數據[編輯]

Displays wikitext based on whether or not a user is logged in.

模板參數[編輯模板資料]

參數描述類型狀態
If IP1 yes

Wikitext to display if user is not logged in

內容建議
If user2 no

Wikitext to display if user is logged in

內容建議
tagtag

Changes the HTML tag used

預設
span
範例
div
不明非必填

參見[編輯]