Difference between revisions of "Template:Eepsite"

From I2P Wiki
Jump to navigation Jump to search
(shorter text + add inr.i2p search)
(make address helper and B32 optional)
Line 1: Line 1:
<includeonly>[http://{{{1}}} {{{1}}}] ([http://{{{1}}}/?i2paddresshelper={{{a}}} addr.helper] [http://{{{b}}} b32] [http://inr.i2p/search/?q={{{1}}} inr])</includeonly><noinclude>{{doc}}</noinclude>
+
<includeonly>[http://{{{1}}} {{{1}}}] ({{ #if: {{a|}} |[http://{{{1}}}/?i2paddresshelper={{{a}}} addr.helper] |}} {{ #if: {{b|}} |[http://{{{b}}} b32] |}} [http://inr.i2p/search/?q={{{1}}} inr])</includeonly><noinclude>{{doc}}</noinclude>

Revision as of 00:02, 16 April 2024

Template documentation   [view] [edit] [history] [purge]

This template creates three links to an eepsite.

Usage

The template accepts one unnamed and two named parameters.

The unnamed parameter is the domain of the eepsite. The a parameter is the eepsite's long Base64 address used in addresshelper. The b parameter is the eepsite's b32 address. All parameters are required, otherwise it breaks the b32 and address helper links.

code result
{{eepsite|i2p-projekt.i2p|a=8ZAW~KzGFMUEj0pdchy6GQOOZbuzbqpWtiApEj8LHy2~O~58XKxRrA43cA23a9oDpNZDqWhRWEtehSnX5NoCwJcXWWdO1ksKEUim6cQLP-VpQyuZTIIqwSADwgoe6ikxZG0NGvy5FijgxF4EW9zg39nhUNKRejYNHhOBZKIX38qYyXoB8XCVJybKg89aMMPsCT884F0CLBKbHeYhpYGmhE4YW~aV21c5pebivvxeJPWuTBAOmYxAIgJE3fFU-fucQn9YyGUFa8F3t-0Vco-9qVNSEWfgrdXOdKT6orr3sfssiKo3ybRWdTpxycZ6wB4qHWgTSU5A-gOA3ACTCMZBsASN3W5cz6GRZCspQ0HNu~R~nJ8V06Mmw~iVYOu5lDvipmG6-dJky6XRxCedczxMM1GWFoieQ8Ysfuxq-j8keEtaYmyUQme6TcviCEvQsxyVirr~dTC-F8aZ~y2AlG5IJz5KD02nO6TRkI2fgjHhv9OZ9nskh-I2jxAzFP6Is1kyAAAA|b=udhdrtrcetjm5sxzskjyr5ztpeszydbh4dpl3pl4utgqqw2v4jna.b32.i2p}} i2p-projekt.i2p ({{ #if: Template:A |addr.helper |}} {{ #if: Template:B |b32 |}} inr)
{{eepsite|i2p-projekt.i2p|b=udhdrtrcetjm5sxzskjyr5ztpeszydbh4dpl3pl4utgqqw2v4jna.b32.i2p}} i2p-projekt.i2p ({{ #if: Template:A |addr.helper |}} {{ #if: Template:B |b32 |}} inr)
{{eepsite|i2p-projekt.i2p}} i2p-projekt.i2p ({{ #if: Template:A |addr.helper |}} {{ #if: Template:B |b32 |}} inr)

Do not edit this template if you do not understand its code!