Template:Web Link: Difference between revisions
From Indian River Lagoon Project
mNo edit summary |
mNo edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
|Link Url= | |Link Url= | ||
|Description= | |Description= | ||
|Region= | |||
|Type= | |Type= | ||
|Topic= | |Topic= | ||
Line 21: | Line 22: | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
{{#cargo_declare:_table=weblink|Name=String|Link_Url=URL|Description=Text|Type=String|Topic=String|Subtopic=List (,) of Text|Site_Logo=File|Screenshot=File|Coordinates=Coordinates|Text_Body=Text|Poster=String|Posted=String}}</noinclude><includeonly>{{#cargo_store:_table=weblink|Name={{{Name|}}}|Link_Url={{{Link Url|}}}|Description={{{Description|}}}|Type={{{Type|}}}|Topic={{{Topic|}}}|Subtopic={{{Subtopic|}}}|Site_Logo={{{Site Logo|}}}|Screenshot={{{Screenshot|}}}|Coordinates={{{Coordinates|}}}|Text_Body={{{Text_Body|}}}|Poster={{{Poster|}}}|Posted={{{Posted|}}} }} | {{#cargo_declare:_table=weblink|Name=String|Link_Url=URL|Description=Text|Region=String|Type=String|Topic=String|Subtopic=List (,) of Text|Site_Logo=File|Screenshot=File|Coordinates=Coordinates|Text_Body=Text|Poster=String|Posted=String}}</noinclude><includeonly>{{#cargo_store:_table=weblink|Name={{{Name|}}}|Link_Url={{{Link Url|}}}|Description={{{Description|}}}|Region={{{Region|}}}|Type={{{Type|}}}|Topic={{{Topic|}}}|Subtopic={{{Subtopic|}}}|Site_Logo={{{Site Logo|}}}|Screenshot={{{Screenshot|}}}|Coordinates={{{Coordinates|}}}|Text_Body={{{Text_Body|}}}|Poster={{{Poster|}}}|Posted={{{Posted|}}} }} | ||
<templatestyles src="Web_Link/styles.css" /> | <templatestyles src="Web_Link/styles.css" /> | ||
<div class="irlbody irllink"> | <div class="irlbody irllink"> | ||
Line 27: | Line 28: | ||
<div class="irllinkbox"> | <div class="irllinkbox"> | ||
<div class="irllinktop"> | <div class="irllinktop"> | ||
{{#if:{{{Screenshot|}}} |<div class="irllinkscreenshot">[[File:{{{Screenshot|}}}|640px|thumb|left|border|alt= | {{#if:{{{Screenshot|}}} |<div class="irllinkscreenshot">[[File:{{{Screenshot|}}}|640px|thumb|left|border|alt=IRL Web Link Image|<b>[[:Category:Directory|IRL Resource Directory]]</b>|link=]]</div>}} | ||
<div class="irllinkname">{{{Name|}}}{{#ifexist: {{SUBPAGENAME}} | <span class="irllinkarticle">[[File:bullet_page.png|16px|top|alt=Article|link={{SUBPAGENAME}}]]</span> }}{{#if: {{#pos:{{{Subtopic|}}}|Facebook}} |<span class="irllinksocial">[[File:Icon-facebook.png|30px|alt=Facebook|link={{{Link Url|}}}]]</span> }}{{ #if: {{#pos:{{{Subtopic|}}}|Twitter}}|<span class="irllinksocial">[[File:Icon-twitter.png|30px|alt=Twitter|link={{{Link Url|}}}]]</span> }}{{ #if: {{#pos:{{{Subtopic|}}}|You Tube}}|<span class="irllinksocial">[[File:Icon-you-tube.png|30px|alt=You Tube|link={{{Link Url|}}}]]</span> }}{{ #if: {{#pos:{{{Subtopic|}}}|Flickr}}|<span class="irllinksocial">[[File:Icon-flickr.png|30px|alt=Flickr|link={{{Link Url|}}}]]</span> }}</div> | <div class="irllinkname">{{{Name|}}}{{#ifexist: {{SUBPAGENAME}} | <span class="irllinkarticle">[[File:bullet_page.png|16px|top|alt=Article|link={{SUBPAGENAME}}]]</span> }}{{#if: {{#pos:{{{Subtopic|}}}|Facebook}} |<span class="irllinksocial">[[File:Icon-facebook.png|30px|alt=Facebook|link={{{Link Url|}}}]]</span> }}{{ #if: {{#pos:{{{Subtopic|}}}|Twitter}}|<span class="irllinksocial">[[File:Icon-twitter.png|30px|alt=Twitter|link={{{Link Url|}}}]]</span> }}{{ #if: {{#pos:{{{Subtopic|}}}|You Tube}}|<span class="irllinksocial">[[File:Icon-you-tube.png|30px|alt=You Tube|link={{{Link Url|}}}]]</span> }}{{ #if: {{#pos:{{{Subtopic|}}}|Flickr}}|<span class="irllinksocial">[[File:Icon-flickr.png|30px|alt=Flickr|link={{{Link Url|}}}]]</span> }}</div> | ||
<div class="irllinkurl"><b>Link:</b> {{{Link Url|}}}</div> | <div class="irllinkurl"><b>Link:</b> {{{Link Url|}}}</div> | ||
Line 47: | Line 48: | ||
{{#ifeq:{{NAMESPACE}} | Link | {{IRL footer|cat={{{Type|}}} }} }} | {{#ifeq:{{NAMESPACE}} | Link | {{IRL footer|cat={{{Type|}}} }} }} | ||
</div> | </div> | ||
{{#ifeq:{{NAMESPACE}}| Link | [[Category:{{{Type|}}}]][[Category:{{{Topic|}}}]]{{# | {{#ifeq:{{NAMESPACE}}| Link | [[Category:Web Link]] [[Category:{{{Type|}}}]] [[Category:{{{Topic|}}}]] {{#if:{{{Region|}}} | [[Category:{{{Region}}} Links]] }}{{#arraymap:{{{Subtopic|}}}|,|x|[[Category:x]] |\s}} {{#default_form:Web Link}} | ||
{{#seo: | {{#seo: | ||
|title={{{Title|}}} - Indian River Lagoon Project | |title={{{Title|}}} - Indian River Lagoon Project |
Latest revision as of 08:05, December 29, 2021
This is the "weblink" template. It should be called in the following format:
{{weblink |Name= |Link Url= |Description= |Region= |Type= |Topic= |Subtopic= |Site Logo= |Screenshot= |ShowMap= |Coordinates= |Text Body= |Poster= |Posted= |Extra= }}
Edit the page to see the template text. This template defines the table "weblink". View table.